You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: compiler/src/org.graalvm.compiler.hotspot.amd64/src/org/graalvm/compiler/hotspot/amd64/AMD64HotSpotAddressLowering.java
Copy file name to clipboardexpand all lines: compiler/src/org.graalvm.compiler.loop.phases/src/org/graalvm/compiler/loop/phases/LoopPredicationPhase.java
Copy file name to clipboardexpand all lines: compiler/src/org.graalvm.compiler.phases.common/src/org/graalvm/compiler/phases/common/util/LoopUtility.java
thrownewArithmeticException("Abs on Integer.MIN_VALUE would cause an overflow because abs(Integer.MIN_VALUE) = Integer.MAX_VALUE + 1 which does not fit in int (32 bits)");
69
+
} else {
70
+
finalinti = (int) l;
71
+
returnMath.abs(i);
72
+
}
73
+
} elseif (bits == 64) {
74
+
if (l == Long.MIN_VALUE) {
75
+
thrownewArithmeticException("Abs on Long.MIN_VALUE would cause an overflow because abs(Long.MIN_VALUE) = Long.MAX_VALUE + 1 which does not fit in long (64 bits)");
76
+
} else {
77
+
returnMath.abs(l);
78
+
}
79
+
} else {
80
+
throwGraalError.shouldNotReachHere("Must be one of java's core datatypes int/long but is " + bits);
0 commit comments