Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/ir/IRBuilder.java
Original file line number Diff line number Diff line change
@@ -2706,10 +2706,10 @@ public Operand buildInstVar(InstVarNode node) {

private InterpreterContext buildIterInner(IterNode iterNode) {
prepareImplicitState(); // recv_self, add frame block, etc)
addCurrentScopeAndModule(); // %current_scope/%current_module

if (iterNode.getVarNode().getNodeType() != null) receiveBlockArgs(iterNode);

addCurrentScopeAndModule(); // %current_scope/%current_module
addInstr(new LabelInstr(((IRClosure) scope).startLabel)); // start label -- used by redo!

// Build closure body and return the result of the closure

0 comments on commit 8e6192f

Please sign in to comment.