Skip to content

Commit d21d8d8

Browse files
committed
Do not use 'transferToInterpreterOnException' in PInt.*Exact() methods.
1 parent 0d3e65d commit d21d8d8

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ public int intValueExact() {
329329
return intValueExact(value);
330330
}
331331

332-
@TruffleBoundary(transferToInterpreterOnException = false)
332+
@TruffleBoundary
333333
private static int intValueExact(BigInteger value) {
334334
return value.intValueExact();
335335
}
@@ -347,7 +347,7 @@ public long longValueExact() {
347347
return longValueExact(value);
348348
}
349349

350-
@TruffleBoundary(transferToInterpreterOnException = false)
350+
@TruffleBoundary
351351
static long longValueExact(BigInteger value) {
352352
return value.longValueExact();
353353
}
@@ -447,7 +447,7 @@ public byte byteValueExact() {
447447
return byteValueExact(value);
448448
}
449449

450-
@TruffleBoundary(transferToInterpreterOnException = false)
450+
@TruffleBoundary
451451
private static byte byteValueExact(BigInteger value) {
452452
return value.byteValueExact();
453453
}

0 commit comments

Comments
 (0)