Home
last modified time | relevance | path

Searched refs:replacementInstruction (Results 1 – 11 of 11) sorted by relevance

/external/proguard/src/proguard/classfile/editor/
DMethodInvocationFixer.java101 Instruction replacementInstruction = in visitConstantInstruction() local
105 codeAttributeEditor.replaceInstruction(offset, replacementInstruction); in visitConstantInstruction()
109 debug(clazz, method, offset, constantInstruction, replacementInstruction); in visitConstantInstruction()
122 Instruction replacementInstruction = in visitConstantInstruction() local
126 codeAttributeEditor.replaceInstruction(offset, replacementInstruction); in visitConstantInstruction()
130 debug(clazz, method, offset, constantInstruction, replacementInstruction); in visitConstantInstruction()
147 Instruction replacementInstruction = in visitConstantInstruction() local
152 codeAttributeEditor.replaceInstruction(offset, replacementInstruction); in visitConstantInstruction()
156 debug(clazz, method, offset, constantInstruction, replacementInstruction); in visitConstantInstruction()
173 Instruction replacementInstruction = in visitConstantInstruction() local
[all …]
DInstructionWriter.java105 Instruction replacementInstruction = in visitConstantInstruction()
112 …" "+constantInstruction.toString(offset)+" will be widened to "+replacementInstruction.toString()… in visitConstantInstruction()
115 replaceInstruction(offset, replacementInstruction); in visitConstantInstruction()
135 Instruction replacementInstruction = in visitVariableInstruction()
140 replaceInstruction(offset, replacementInstruction); in visitVariableInstruction()
144 …" "+variableInstruction.toString(offset)+" will be widened to "+replacementInstruction.toString()… in visitVariableInstruction()
165 Instruction replacementInstruction = in visitBranchInstruction()
175 replacementInstruction = in visitBranchInstruction()
226 …n(" "+branchInstruction.toString(offset)+" will be widened to "+replacementInstruction.toString()… in visitBranchInstruction()
229 replaceInstruction(offset, replacementInstruction); in visitBranchInstruction()
DCodeAttributeEditor.java547 Instruction replacementInstruction = replacements[offset]; in canPerformSimpleReplacements() local
548 if (replacementInstruction != null && in canPerformSimpleReplacements()
549 replacementInstruction.length(offset) != in canPerformSimpleReplacements()
573 Instruction replacementInstruction = replacements[offset]; in performSimpleReplacements() local
574 if (replacementInstruction != null) in performSimpleReplacements()
576 replacementInstruction.write(codeAttribute, offset); in performSimpleReplacements()
580 System.out.println(" Replaced "+replacementInstruction.toString(offset)); in performSimpleReplacements()
688 Instruction replacementInstruction = replacements[oldOffset]; in mapInstruction() local
689 if (replacementInstruction != null) in mapInstruction()
691 newOffset += replacementInstruction.length(newOffset); in mapInstruction()
[all …]
DVariableRemapper.java195 Instruction replacementInstruction = in visitVariableInstruction() local
200 codeAttributeEditor.replaceInstruction(offset, replacementInstruction); in visitVariableInstruction()
DConstantPoolRemapper.java517 Instruction replacementInstruction = in visitConstantInstruction() local
522 codeAttributeEditor.replaceInstruction(offset, replacementInstruction); in visitConstantInstruction()
/external/proguard/src/proguard/optimize/evaluation/
DEvaluationSimplifier.java481 Instruction replacementInstruction = in replaceIntegerPushInstruction() local
485 replaceInstruction(clazz, offset, instruction, replacementInstruction); in replaceIntegerPushInstruction()
551 Instruction replacementInstruction = in replaceLongPushInstruction() local
555 replaceInstruction(clazz, offset, instruction, replacementInstruction); in replaceLongPushInstruction()
625 Instruction replacementInstruction = in replaceFloatPushInstruction() local
629 replaceInstruction(clazz, offset, instruction, replacementInstruction); in replaceFloatPushInstruction()
695 Instruction replacementInstruction = in replaceDoublePushInstruction() local
699 replaceInstruction(clazz, offset, instruction, replacementInstruction); in replaceDoublePushInstruction()
755 Instruction replacementInstruction = in replaceConstantPushInstruction() local
758 replaceInstruction(clazz, offset, instruction, replacementInstruction); in replaceConstantPushInstruction()
[all …]
DEvaluationShrinker.java995 Instruction replacementInstruction = new SimpleInstruction(newOpcode); in visitSimpleInstruction() local
997 replacementInstruction); in visitSimpleInstruction()
999 …eplacing instruction "+simpleInstruction.toString(offset)+" by "+replacementInstruction.toString()… in visitSimpleInstruction()
1011 … SimpleInstruction replacementInstruction = new SimpleInstruction((byte)newOpcodes); in visitSimpleInstruction() local
1012 replacementInstructions[count++] = replacementInstruction; in visitSimpleInstruction()
1014 if (DEBUG) System.out.println(" "+replacementInstruction.toString()); in visitSimpleInstruction()
1710 Instruction replacementInstruction = in insertPushInstructions() local
1713 if (DEBUG) System.out.println(": "+replacementInstruction.toString(offset)); in insertPushInstructions()
1716 insertInstruction(offset, replace, before, replacementInstruction); in insertPushInstructions()
1888 Instruction replacementInstruction = in replaceByStaticInvocation() local
[all …]
DSimpleEnumUseSimplifier.java631 Instruction replacementInstruction) in replaceInstruction() argument
636 replacementInstruction.stackPopCount(clazz); in replaceInstruction()
640 …n(" Replacing instruction "+instruction.toString(offset)+" -> "+replacementInstruction.toString()… in replaceInstruction()
642 codeAttributeEditor.replaceInstruction(offset, replacementInstruction); in replaceInstruction()
/external/proguard/src/proguard/optimize/peephole/
DInstructionSequenceReplacer.java240 private Instruction replacementInstruction; field in InstructionSequenceReplacer.MyReplacementInstructionFactory
257 return replacementInstruction; in create()
265 replacementInstruction = in visitSimpleInstruction()
273 replacementInstruction = in visitVariableInstruction()
282 replacementInstruction = in visitConstantInstruction()
292 replacementInstruction = in visitBranchInstruction()
301 replacementInstruction = in visitTableSwitchInstruction()
314 replacementInstruction = in visitLookUpSwitchInstruction()
/external/proguard/src/proguard/preverify/
DCodeSubroutineInliner.java273 Instruction replacementInstruction = in visitVariableInstruction() local
277 codeAttributeComposer.appendInstruction(offset, replacementInstruction); in visitVariableInstruction()
329 Instruction replacementInstruction = in visitBranchInstruction() local
333 codeAttributeComposer.appendInstruction(offset, replacementInstruction); in visitBranchInstruction()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/
DMutableMethodImplementation.java248 public void replaceInstruction(int index, @Nonnull BuilderInstruction replacementInstruction) {
254 replacementInstruction.location = replaceLocation;
258 replaceLocation.instruction = replacementInstruction;