fixed simplification of init and incrInstr

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@894 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent fe9868d0db
commit 0c289807f7
  1. 4
      jode/jode/flow/LoopBlock.java

@ -510,9 +510,9 @@ public class LoopBlock extends StructuredBlock implements BreakableBlock {
public void simplify() {
cond = cond.simplify();
if (type == FOR) {
incrInstr.simplify();
incrInstr = incrInstr.simplify();
if (initInstr != null)
initInstr.simplify();
initInstr = initInstr.simplify();
}
super.simplify();
}

Loading…
Cancel
Save