Skip to content

Commit

Permalink
Remove unused parameter to processBookKeepingOp (removes a warning in…
Browse files Browse the repository at this point in the history
… my IDE)
  • Loading branch information
enebo committed Jan 26, 2017
1 parent 026f2c6 commit 86b2dbb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Expand Up @@ -198,7 +198,8 @@ public IRubyObject interpret(ThreadContext context, Compilable compilable, Block
args = IRRuntimeHelpers.prepareBlockArgs(context, block, args, acceptsKeywordArgument);
break;
default:
processBookKeepingOp(interpreterContext, compilable, context, block, instr, operation, name, args, self, blockArg, currDynScope, temp, currScope);
processBookKeepingOp(compilable, context, block, instr, operation, name, args, self,
blockArg, currDynScope, temp, currScope);
break;
}
break;
Expand Down Expand Up @@ -374,7 +375,7 @@ protected static void processCall(ThreadContext context, Instr instr, Operation
}
}

protected static void processBookKeepingOp(InterpreterContext ic, Compilable compilable, ThreadContext context, Block block, Instr instr, Operation operation,
protected static void processBookKeepingOp(Compilable compilable, ThreadContext context, Block block, Instr instr, Operation operation,
String name, IRubyObject[] args, IRubyObject self, Block blockArg,
DynamicScope currDynScope, Object[] temp, StaticScope currScope) {
switch(operation) {
Expand Down
Expand Up @@ -96,7 +96,8 @@ public IRubyObject interpret(ThreadContext context, Compilable compilable, Block
rescuePCs.pop();
break;
default:
processBookKeepingOp(interpreterContext, compilable, context, block, instr, operation, name, args, self, blockArg, currDynScope, temp, currScope);
processBookKeepingOp(compilable, context, block, instr, operation, name, args, self,
blockArg, currDynScope, temp, currScope);
}
break;
case MOD_OP:
Expand Down

0 comments on commit 86b2dbb

Please sign in to comment.