Skip to content

Commit afced5d

Browse files
committed
Add @TruffleBoundary annotation to the ParseAndDumpTruffleASTNode node specialisations
To fix compiling error: Number of methods for runtime compilation exceeds the allowed limit: 82647 > 20700
1 parent 2d83a7e commit afced5d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/truffleruby/debug/TruffleDebugNodes.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1426,6 +1426,7 @@ protected boolean isMultiThreaded() {
14261426
public abstract static class ParseAndDumpTruffleASTNode extends CoreMethodArrayArgumentsNode {
14271427

14281428
@Specialization
1429+
@TruffleBoundary
14291430
protected Object parseAndDump(Object sourceCode, Object focusedNodeClassName, int index,
14301431
@Cached TruffleString.FromJavaStringNode fromJavaStringNode) {
14311432
String sourceCodeString = RubyGuards.getJavaString(sourceCode);

0 commit comments

Comments
 (0)