Skip to content

Commit 53a30af

Browse files
committed
Remove unnecessary TruffleBoundary for byte begin/end specializations
1 parent c424265 commit 53a30af

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/java/org/truffleruby/core/regexp/MatchDataNodes.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,6 @@ Object byteBegin(RubyMatchData matchData, int index,
627627
}
628628
}
629629

630-
@TruffleBoundary
631630
@Specialization(guards = "!inBounds(matchData, index)")
632631
Object byteBeginError(RubyMatchData matchData, int index) {
633632
throw new RaiseException(
@@ -657,7 +656,6 @@ Object byteEnd(RubyMatchData matchData, int index,
657656
}
658657
}
659658

660-
@TruffleBoundary
661659
@Specialization(guards = "!inBounds(matchData, index)")
662660
Object byteEndError(RubyMatchData matchData, int index) {
663661
throw new RaiseException(

0 commit comments

Comments
 (0)