in mapStackLocal


git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1005 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 2f70d84fbb
commit 127778a8b3
  1. 5
      jode/jode/flow/SwitchBlock.java

@ -95,7 +95,6 @@ implements BreakableBlock {
newStack = stack.pop(params); newStack = stack.pop(params);
} else } else
newStack = stack; newStack = stack;
VariableStack lastStack = newStack; VariableStack lastStack = newStack;
for (int i=0; i< caseBlocks.length; i++) { for (int i=0; i< caseBlocks.length; i++) {
if (lastStack != null) if (lastStack != null)
@ -104,6 +103,10 @@ implements BreakableBlock {
} }
if (lastStack != null) if (lastStack != null)
mergeBreakedStack(lastStack); mergeBreakedStack(lastStack);
if (jump != null) {
jump.stackMap = breakedStack;
return null;
}
return breakedStack; return breakedStack;
} }

Loading…
Cancel
Save