Skip to content

Commit

Permalink
[Truffle] Comment what false means when materialising.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseaton committed Sep 29, 2014
1 parent 2fd2aec commit 22291ec
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ public BindingNode(BindingNode prev) {

@Specialization
public Object binding(Object self) {
// Materialize the caller's frame - false means don't use a slow path to get it - we want to optimize it

final MaterializedFrame callerFrame = Truffle.getRuntime().getCallerFrame()
.getFrame(FrameInstance.FrameAccess.MATERIALIZE, false).materialize();

Expand Down

0 comments on commit 22291ec

Please sign in to comment.