Skip to content
Snippets Groups Projects
Commit bf0a32b0 authored by stepan's avatar stepan
Browse files

Avoid recursion in PE

parent d7de778b
No related branches found
No related tags found
No related merge requests found
......@@ -692,12 +692,17 @@ public final class RContext {
// methods information
assert contextKind != ContextKind.SHARE_NOTHING;
assert parentContext != null;
return parentContext.getPrimitiveMethodsInfo();
return parentContext.getPrimitiveMethodsInfoWithBoundary();
} else {
return primitiveMethodsInfo;
}
}
@TruffleBoundary
private PrimitiveMethodsInfo getPrimitiveMethodsInfoWithBoundary() {
return getPrimitiveMethodsInfo();
}
/**
* This is a static property of the implementation and not context-specific.
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment