Change equality comparison on RegisterMask for consistency
Co-Authored-By: gdkchan <gab.dark.100@gmail.com>
This commit is contained in:
parent
a5f483c0a7
commit
57f5916783
1 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ namespace ChocolArm64.IntermediateRepresentation
|
|||
|
||||
public static bool operator !=(RegisterMask x, RegisterMask y)
|
||||
{
|
||||
return !(x == y);
|
||||
return !x.Equals(y);
|
||||
}
|
||||
|
||||
public override bool Equals(object obj)
|
||||
|
@ -53,4 +53,4 @@ namespace ChocolArm64.IntermediateRepresentation
|
|||
return IntMask == other.IntMask && VecMask == other.VecMask;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue