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)
|
public static bool operator !=(RegisterMask x, RegisterMask y)
|
||||||
{
|
{
|
||||||
return !(x == y);
|
return !x.Equals(y);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool Equals(object obj)
|
public override bool Equals(object obj)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue