Skip to content

Commit

Permalink
[Truffle] Add a boundary for clarity and AOT.
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Dec 13, 2016
1 parent 9a1ce58 commit 345349d
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -1217,6 +1217,7 @@ public DynamicObject lambdaFromExistingProc(DynamicObject block) {
return block;
}

@TruffleBoundary
protected boolean isLiteralBlock(DynamicObject block) {
Node callNode = getContext().getCallStack().getCallerFrameIgnoringSend().getCallNode();
return isLiteralBlock(callNode);
Expand Down

0 comments on commit 345349d

Please sign in to comment.