mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-05 22:52:10 +02:00
LibJS: Make Register comparable
This commit is contained in:
@@ -25,6 +25,8 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
bool operator==(Register reg) const { return m_index == reg.index(); }
|
||||
|
||||
u32 index() const { return m_index; }
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user