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: