bug in removeSwap

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@172 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent d3024c94ac
commit f801ebab80
  1. 3
      jode/jode/flow/RemoveEmpty.java

@ -25,6 +25,7 @@ public class RemoveEmpty {
public static boolean removeSwap(SpecialBlock swapBlock,
StructuredBlock last) {
/* Remove non needed swaps; convert:
*
* PUSH expr1
@ -72,7 +73,7 @@ public class RemoveEmpty {
/* PUSH expr2
* PUSH expr1
*/
block1.flowBlock.lastModified = block1.outer;
block1.flowBlock.lastModified = block1;
return true;
}
return false;

Loading…
Cancel
Save