Skip to content

Commit ed65c77

Browse files
committed
Remove invalid 'transferToInterpreterOnException = false'.
1 parent 4bca3ad commit ed65c77

File tree

1 file changed

+4
-4
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/str

1 file changed

+4
-4
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/str/StringBuiltins.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -600,13 +600,13 @@ protected int findWithBounds(String self, String str, int start, int end) {
600600
public abstract static class RFindNode extends FindBaseNode {
601601

602602
@Override
603-
@TruffleBoundary(transferToInterpreterOnException = false)
603+
@TruffleBoundary
604604
protected int find(String self, String findStr) {
605605
return self.lastIndexOf(findStr);
606606
}
607607

608608
@Override
609-
@TruffleBoundary(transferToInterpreterOnException = false)
609+
@TruffleBoundary
610610
protected int findWithBounds(String self, String str, int start, int end) {
611611
if (start != -1 && end != -1) {
612612
int idx = self.lastIndexOf(str, end - str.length() - 1);
@@ -627,13 +627,13 @@ protected int findWithBounds(String self, String str, int start, int end) {
627627
public abstract static class FindNode extends FindBaseNode {
628628

629629
@Override
630-
@TruffleBoundary(transferToInterpreterOnException = false)
630+
@TruffleBoundary
631631
protected int find(String self, String findStr) {
632632
return self.indexOf(findStr);
633633
}
634634

635635
@Override
636-
@TruffleBoundary(transferToInterpreterOnException = false)
636+
@TruffleBoundary
637637
protected int findWithBounds(String self, String str, int start, int end) {
638638
if (start != -1 && end != -1) {
639639
int idx = self.indexOf(str, start);

0 commit comments

Comments
 (0)