@Override protected SSAPhiInstruction repairPhiDefs(SSAPhiInstruction phi, int[] newDefs) { return (SSAPhiInstruction) phi.copyForSSA(CFG.getMethod().getDeclaringClass().getClassLoader().getInstructionFactory(), newDefs, null); }
@Override protected SSAPhiInstruction repairPhiDefs(SSAPhiInstruction phi, int[] newDefs) { return (SSAPhiInstruction) phi.copyForSSA(CFG.getMethod().getDeclaringClass().getClassLoader().getInstructionFactory(), newDefs, null); }
@Override protected void repairInstructionDefs(SSAInstruction inst, int index, int[] newDefs, int[] newUses) { instructions[index] = inst.copyForSSA(CFG.getMethod().getDeclaringClass().getClassLoader().getInstructionFactory(), newDefs, newUses); }
@Override protected void repairInstructionDefs(SSAInstruction inst, int index, int[] newDefs, int[] newUses) { instructions[index] = inst.copyForSSA(CFG.getMethod().getDeclaringClass().getClassLoader().getInstructionFactory(), newDefs, newUses); }
private SSAInstruction undo(SSAInstruction inst, int use, int val) { int c = getNumberOfUses(inst); int[] newUses = new int[c]; for (int i = 0; i < c; i++) { if (i == use) newUses[i] = val; else newUses[i] = getUse(inst, i); } return inst.copyForSSA(CFG.getMethod().getDeclaringClass().getClassLoader().getInstructionFactory(), null, newUses); }
private SSAInstruction undo(SSAInstruction inst, int use, int val) { int c = getNumberOfUses(inst); int[] newUses = new int[c]; for (int i = 0; i < c; i++) { if (i == use) newUses[i] = val; else newUses[i] = getUse(inst, i); } return inst.copyForSSA(CFG.getMethod().getDeclaringClass().getClassLoader().getInstructionFactory(), null, newUses); }
Language l = cfg.getMethod().getDeclaringClass().getClassLoader().getLanguage();
Language l = cfg.getMethod().getDeclaringClass().getClassLoader().getLanguage();