Lines Matching refs:mutatableCode

66   protected boolean canMutate(MutatableCode mutatableCode) {  in canMutate()  argument
67 for (MInsn mInsn : mutatableCode.getInstructions()) { in canMutate()
78 protected Mutation generateMutation(MutatableCode mutatableCode) { in generateMutation() argument
84 printedOutputIdx = rng.nextInt(mutatableCode.getInstructionCount()); in generateMutation()
86 mutatableCode.getInstructionAt(printedOutputIdx); in generateMutation()
100 mutation.setup(this.getClass(), mutatableCode); in generateMutation() local
109 MutatableCode mutatableCode = mutation.mutatableCode; in applyMutation() local
112 mutatableCode.getInstructionAt(mutation.printedOutputIdx); in applyMutation()
114 int outFieldIdx = mutatableCode.program.getNewItemCreator().findOrCreateFieldId( in applyMutation()
125 int printMethodIdx = mutatableCode.program.getNewItemCreator().findOrCreateMethodId( in applyMutation()
141 mutatableCode.allocateTemporaryVRegs(3); in applyMutation()
143 mutatableCode.allocateTemporaryVRegs(2); in applyMutation()
146 int streamRegister = mutatableCode.getTemporaryVReg(0); in applyMutation()
147 int valueRegister = mutatableCode.getTemporaryVReg(1); in applyMutation()
186 mutatableCode.insertInstructionAfter(invokeInsn, mutation.printedOutputIdx); in applyMutation()
187 mutatableCode.insertInstructionAfter(streamLoadInsn, mutation.printedOutputIdx); in applyMutation()
188 mutatableCode.insertInstructionAfter(valueCopyInsn, mutation.printedOutputIdx); in applyMutation()
190 mutatableCode.finishedUsingTemporaryVRegs(); in applyMutation()