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)
enebo committed Jan 26, 2017
1 parent 026f2c6 commit 86b2dbb
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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;
@@ -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) {
Original file line number Diff line number Diff line change
@@ -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:

0 comments on commit 86b2dbb

Please sign in to comment.