1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:37:35 +00:00

LibJS: Make Register comparable

This commit is contained in:
Hendiadyoin1 2022-10-22 20:20:35 +02:00 committed by Linus Groh
parent 9a5ae8a92a
commit f5e7fa4d0e

View file

@ -25,6 +25,8 @@ public:
{
}
bool operator==(Register reg) const { return m_index == reg.index(); }
u32 index() const { return m_index; }
private: