mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-23 05:46:06 +00: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