Skip to content

Commit fb00eb7

Browse files
committed
[GR-26317] Revert adding hashWithState message to PInt.
PullRequest: graalpython/1300
2 parents 85c2ec7 + c9043f1 commit fb00eb7

File tree

1 file changed

+0
-5
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/ints

1 file changed

+0
-5
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/ints/PInt.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -568,11 +568,6 @@ public long hash() {
568568
return hashBigInteger(value);
569569
}
570570

571-
@ExportMessage
572-
public long hashWithState(@SuppressWarnings("unused") ThreadState state) {
573-
return hash();
574-
}
575-
576571
@TruffleBoundary
577572
public static long hashBigInteger(BigInteger i) {
578573
long h = i.remainder(BigInteger.valueOf(SysModuleBuiltins.HASH_MODULUS)).longValue();

0 commit comments

Comments
 (0)