Skip to content

Commit

Permalink
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/ir/Operation.java
Original file line number Diff line number Diff line change
@@ -51,7 +51,7 @@ public enum Operation {
RECV_OPT_ARG(OpFlags.f_is_arg_receive),
RECV_RUBY_EXC(OpFlags.f_is_arg_receive),
RECV_JRUBY_EXC(OpFlags.f_is_arg_receive),
LOAD_IMPLICT_CLOSURE(OpFlags.f_is_arg_receive),
LOAD_IMPLICIT_CLOSURE(OpFlags.f_is_arg_receive),
LOAD_FRAME_CLOSURE(OpFlags.f_is_arg_receive),

/** Instruction to reify an passed-in block to a Proc for def foo(&b) */
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ public class LoadImplicitClosureInstr extends Instr implements ResultInstr, Fixe
private Variable result;

public LoadImplicitClosureInstr(Variable result) {
super(Operation.LOAD_IMPLICT_CLOSURE);
super(Operation.LOAD_IMPLICIT_CLOSURE);

assert result != null : "LoadImplicitClosureInstr result is null";

Original file line number Diff line number Diff line change
@@ -252,7 +252,7 @@ private static void receiveArg(ThreadContext context, Instr i, Operation operati
case RECV_JRUBY_EXC:
setResult(temp, currDynScope, instr.getResult(), exception);
return;
case LOAD_IMPLICT_CLOSURE:
case LOAD_IMPLICIT_CLOSURE:
setResult(temp, currDynScope, instr.getResult(), block);
return;
case LOAD_FRAME_CLOSURE:

0 comments on commit bfd1366

Please sign in to comment.