diff --git a/ARMeilleure/IntermediateRepresentation/Operand.cs b/ARMeilleure/IntermediateRepresentation/Operand.cs index b3aafa7a..896d3420 100644 --- a/ARMeilleure/IntermediateRepresentation/Operand.cs +++ b/ARMeilleure/IntermediateRepresentation/Operand.cs @@ -378,14 +378,7 @@ namespace ARMeilleure.IntermediateRepresentation public override int GetHashCode() { - if (Kind == OperandKind.LocalVariable) - { - return base.GetHashCode(); - } - else - { - return (int)Value ^ ((int)Kind << 16) ^ ((int)Type << 20); - } + return ((ulong)_data).GetHashCode(); } public bool Equals(Operand operand)