preds is array instead of hash

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@554 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 1f6e56b052
commit 75a48a001f
  1. 7
      jode/jode/obfuscator/SimpleAnalyzer.java

@ -102,14 +102,9 @@ public class SimpleAnalyzer implements CodeAnalyzer, Opcodes {
stacksize += Type.tType(ref.getType()).stackSize();
if (stacksize == 3) {
/* Add a pop instruction after this opcode. */
Instruction second = new Instruction(bytecode);
second.addr = instr.addr+1;
Instruction second = instr.appendInstruction();
second.length = 1;
second.opcode = Instruction.opc_pop;
second.nextByAddr = instr.nextByAddr;
instr.nextByAddr = second;
second.nextByAddr.preds.removeElement(instr);
second.nextByAddr.preds.addElement(second);
stacksize--;
}
instr.objData = null;

Loading…
Cancel
Save