Commit ea9f933f authored by Skylot's avatar Skylot

core: fix register arg hashCode method (#321, #328)

parent eb2e5e3d
...@@ -157,7 +157,7 @@ public class RegisterArg extends InsnArg implements Named { ...@@ -157,7 +157,7 @@ public class RegisterArg extends InsnArg implements Named {
@Override @Override
public int hashCode() { public int hashCode() {
return regNum * 31 + type.hashCode(); return regNum;
} }
@Override @Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment