121122123124125126127128129130131
if (i instanceof CPInstruction) { CPInstruction cpIns = (CPInstruction)i; ConstantPool cp = cpIns.getConstantPool(); if (!constantPool.equals(cp)) { cpIns.replaceConstantPool(constantPool); } } instructions.add(i); }
159160161162163164165166167168169
if (i instanceof CPInstruction) { CPInstruction cpIns = (CPInstruction)i; ConstantPool cp = cpIns.getConstantPool(); if (!constantPool.equals(cp)) { cpIns.replaceConstantPool(constantPool); } } return instructions.subList(0, idx).add(i);