Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -28,6 +28,7 @@

import org.jruby.truffle.nodes.RubyGuards;
import org.jruby.truffle.nodes.core.BindingNodes;
import org.jruby.truffle.nodes.core.ProcNodes;
import org.jruby.truffle.nodes.methods.DeclarationContext;
import org.jruby.truffle.runtime.RubyArguments;
import org.jruby.truffle.runtime.RubyContext;
@@ -125,7 +126,7 @@ public Object execute(VirtualFrame frame) {
}
}

callNode.call(frame, RubyArguments.pack(Layouts.PROC.getMethod(block), Layouts.PROC.getDeclarationFrame(block), null, Layouts.PROC.getSelf(block), Layouts.PROC.getBlock(block), DeclarationContext.BLOCK, new Object[]{binding}));
callNode.call(frame, ProcNodes.packArguments(block, new Object[] { binding }));

return null;
}

0 comments on commit 8d8b870

Please sign in to comment.