Skip to content

Commit

Permalink
Fix typo: IMPLICT -> IMPLICIT
Browse files Browse the repository at this point in the history
  • Loading branch information
subbuss committed Jan 9, 2015
1 parent 83b4dba commit bfd1366
Show file tree
Hide file tree
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
Expand Up @@ -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) */
Expand Down
Expand Up @@ -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";

Expand Down
Expand Up @@ -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:
Expand Down

0 comments on commit bfd1366

Please sign in to comment.