name change: getFreeOperandCount

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@772 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 19c90b0a4c
commit a9ddeaa9dd
  1. 2
      jode/jode/flow/IfThenElseBlock.java

@ -105,7 +105,7 @@ public class IfThenElseBlock extends StructuredBlock {
*/ */
public VariableStack mapStackToLocal(VariableStack stack) { public VariableStack mapStackToLocal(VariableStack stack) {
VariableStack newStack; VariableStack newStack;
int params = cond.getOperandCount(); int params = cond.getFreeOperandCount();
if (params > 0) { if (params > 0) {
condStack = stack.peek(params); condStack = stack.peek(params);
newStack = stack.pop(params); newStack = stack.pop(params);

Loading…
Cancel
Save