name change: getFreeOperandCount()

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@769 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 827cb725eb
commit b5e13adfe1
  1. 2
      jode/jode/flow/ConditionalBlock.java

@ -95,7 +95,7 @@ public class ConditionalBlock extends InstructionContainer {
*/ */
public VariableStack mapStackToLocal(VariableStack stack) { public VariableStack mapStackToLocal(VariableStack stack) {
VariableStack newStack; VariableStack newStack;
int params = instr.getOperandCount(); int params = instr.getFreeOperandCount();
if (params > 0) { if (params > 0) {
this.stack = stack.peek(params); this.stack = stack.peek(params);
newStack = stack.pop(params); newStack = stack.pop(params);

Loading…
Cancel
Save