@Override public void fix(final Instruction target) { instruction.setOperand(target); } };
@Override public void fix(final Instruction target) { instruction.setOperand(target); } };
@Override public void fix(final Instruction target) { instruction.setOperand(target); } };
p.setOperand(null); _removed.add(p); p.setOperand(null);
private void removeGetClassCallsForInvokeDynamic() { for (final Instruction i : _instructions) { if (i.getOpCode() != OpCode.INVOKEDYNAMIC) { continue; } final Instruction p1 = i.getPrevious(); if (p1 == null || p1.getOpCode() != OpCode.POP) { continue; } final Instruction p2 = p1.getPrevious(); if (p2 == null || !isGetClassInvocation(p2)) { continue; } final Instruction p3 = p2.getPrevious(); if (p3 == null || p3.getOpCode() != OpCode.DUP) { continue; } p1.setOpCode(OpCode.NOP); p1.setOperand(null); p2.setOpCode(OpCode.NOP); p2.setOperand(null); p3.setOpCode(OpCode.NOP); p3.setOperand(null); } }
private void removeGetClassCallsForInvokeDynamic() { for (final Instruction i : _instructions) { if (i.getOpCode() != OpCode.INVOKEDYNAMIC) { continue; } final Instruction p1 = i.getPrevious(); if (p1 == null || p1.getOpCode() != OpCode.POP) { continue; } final Instruction p2 = p1.getPrevious(); if (p2 == null || !isGetClassInvocation(p2)) { continue; } final Instruction p3 = p2.getPrevious(); if (p3 == null || p3.getOpCode() != OpCode.DUP) { continue; } p1.setOpCode(OpCode.NOP); p1.setOperand(null); p2.setOpCode(OpCode.NOP); p2.setOperand(null); p3.setOpCode(OpCode.NOP); p3.setOperand(null); } }
private void removeGetClassCallsForInvokeDynamic() { for (final Instruction i : _instructions) { if (i.getOpCode() != OpCode.INVOKEDYNAMIC) { continue; } final Instruction p1 = i.getPrevious(); if (p1 == null || p1.getOpCode() != OpCode.POP) { continue; } final Instruction p2 = p1.getPrevious(); if (p2 == null || !isGetClassInvocation(p2)) { continue; } final Instruction p3 = p2.getPrevious(); if (p3 == null || p3.getOpCode() != OpCode.DUP) { continue; } p1.setOpCode(OpCode.NOP); p1.setOperand(null); p2.setOpCode(OpCode.NOP); p2.setOperand(null); p3.setOpCode(OpCode.NOP); p3.setOperand(null); } }
end.setOperand(null); _removed.add(end);
end.setOperand(null); _removed.add(end);
end.setOperand(null); _removed.add(end);
newExit.setOperand(newEnd); remappedJumps.put(newExit, newEnd); newStart.setOperand(null); reference.setOperand(OpCode.NOP);
newExit.setOperand(newEnd); remappedJumps.put(newExit, newEnd); newStart.setOperand(null); reference.setOperand(OpCode.NOP);
newExit.setOperand(newEnd); remappedJumps.put(newExit, newEnd); newStart.setOperand(null); reference.setOperand(OpCode.NOP);
copy.setOperand(operands); copy.setOperand(instruction.getOperand(0)); instruction.setOperand(mappedInstruction(oldToNew, (Instruction) operand)); newOperand.setHighValue(oldOperand.getHighValue()); instruction.setOperand(newOperand);
copy.setOperand(operands); copy.setOperand(instruction.getOperand(0)); instruction.setOperand(mappedInstruction(oldToNew, (Instruction) operand)); newOperand.setHighValue(oldOperand.getHighValue()); instruction.setOperand(newOperand);
copy.setOperand(operands); copy.setOperand(instruction.getOperand(0)); instruction.setOperand(mappedInstruction(oldToNew, (Instruction) operand)); newOperand.setHighValue(oldOperand.getHighValue()); instruction.setOperand(newOperand);
nextToLast.setOperand(null); last.setOperand(null);
nextToLast.setOperand(null); last.setOperand(null);
nextToLast.setOperand(null); last.setOperand(null);
if (newTarget == instruction) { instruction.setOpCode(OpCode.NOP); instruction.setOperand(null); instruction.setOperand(newTarget); ); instruction.setOperand(newOperand);