Skip to content

Commit

Permalink
Additional fix for escaped blocks, set in optimized interp path.
Browse files Browse the repository at this point in the history
For #4577 and #4686.
  • Loading branch information
headius committed Oct 10, 2017
1 parent 4929918 commit e362373
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -329,7 +329,7 @@ protected static void processCall(ThreadContext context, Instr instr, Operation
IRubyObject r = (IRubyObject)retrieveOp(call.getReceiver(), context, self, currDynScope, currScope, temp);
IRubyObject o = (IRubyObject)call.getArg1().retrieve(context, self, currScope, currDynScope, temp);
Block preparedBlock = call.prepareBlock(context, self, currScope, currDynScope, temp);
result = call.getCallSite().call(context, self, r, o, preparedBlock);
result = call.getCallSite().callIter(context, self, r, o, preparedBlock);
setResult(temp, currDynScope, call.getResult(), result);
break;
}
Expand Down

0 comments on commit e362373

Please sign in to comment.