Home
last modified time | relevance | path

Searched refs:constantInstruction (Results 1 – 25 of 42) sorted by relevance

12

/external/proguard/src/proguard/classfile/editor/
DMethodInvocationFixer.java78 …z, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) in visitConstantInstruction() argument
80 int constantIndex = constantInstruction.constantIndex; in visitConstantInstruction()
92 byte opcode = constantInstruction.opcode; in visitConstantInstruction()
109 debug(clazz, method, offset, constantInstruction, replacementInstruction); in visitConstantInstruction()
130 debug(clazz, method, offset, constantInstruction, replacementInstruction); in visitConstantInstruction()
144 constantInstruction.constant != invokeinterfaceConstant) in visitConstantInstruction()
156 debug(clazz, method, offset, constantInstruction, replacementInstruction); in visitConstantInstruction()
181 debug(clazz, method, offset, constantInstruction, replacementInstruction); in visitConstantInstruction()
228 ConstantInstruction constantInstruction, in debug() argument
234 System.out.println(" Instruction = "+constantInstruction.toString(offset)); in debug()
DInstructionWriter.java95 …z, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) in visitConstantInstruction() argument
100 constantInstruction.write(codeAttribute, offset); in visitConstantInstruction()
106 new ConstantInstruction(constantInstruction.opcode, in visitConstantInstruction()
107 constantInstruction.constantIndex, in visitConstantInstruction()
108 constantInstruction.constant); in visitConstantInstruction()
112 …System.out.println(" "+constantInstruction.toString(offset)+" will be widened to "+replacementIns… in visitConstantInstruction()
118 constantInstruction.constantIndex = 0; in visitConstantInstruction()
119 constantInstruction.constant = 0; in visitConstantInstruction()
120 constantInstruction.write(codeAttribute, offset); in visitConstantInstruction()
DInstructionAdder.java65 …z, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) in visitConstantInstruction() argument
69 new ConstantInstruction(constantInstruction.opcode, in visitConstantInstruction()
70 … constantAdder.addConstant(clazz, constantInstruction.constantIndex), in visitConstantInstruction()
71 constantInstruction.constant); in visitConstantInstruction()
DBridgeMethodFixer.java84 …z, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) in visitConstantInstruction() argument
86 switch (constantInstruction.opcode) in visitConstantInstruction()
93 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
/external/proguard/src/proguard/optimize/info/
DSideEffectInstructionChecker.java173 …z, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) in visitConstantInstruction() argument
175 byte opcode = constantInstruction.opcode; in visitConstantInstruction()
183 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
189 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
203 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
218 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
225 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
240 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
DReadWriteFieldMarker.java53 …z, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) in visitConstantInstruction() argument
55 byte opcode = constantInstruction.opcode; in visitConstantInstruction()
65 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
73 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
81 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
DDotClassMarker.java49 …z, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) in visitConstantInstruction() argument
51 if (constantInstruction.opcode == InstructionConstants.OP_LDC || in visitConstantInstruction()
52 constantInstruction.opcode == InstructionConstants.OP_LDC_W) in visitConstantInstruction()
54 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
DInstantiationClassMarker.java49 …z, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) in visitConstantInstruction() argument
51 if (constantInstruction.opcode == InstructionConstants.OP_NEW) in visitConstantInstruction()
53 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
DSuperInvocationMarker.java50 …z, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) in visitConstantInstruction() argument
52 if (constantInstruction.opcode == InstructionConstants.OP_INVOKESPECIAL) in visitConstantInstruction()
56 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
DInstanceofClassMarker.java49 …z, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) in visitConstantInstruction() argument
51 if (constantInstruction.opcode == InstructionConstants.OP_INSTANCEOF) in visitConstantInstruction()
53 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
DDynamicInvocationMarker.java50 …z, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) in visitConstantInstruction() argument
52 if (constantInstruction.opcode == InstructionConstants.OP_INVOKEDYNAMIC) in visitConstantInstruction()
DMethodInvocationMarker.java49 …z, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) in visitConstantInstruction() argument
51 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
DExceptionInstructionChecker.java177 …z, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) in visitConstantInstruction() argument
180 switch (constantInstruction.opcode) in visitConstantInstruction()
/external/proguard/src/proguard/optimize/evaluation/
DSimpleEnumUseChecker.java212 …z, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) in visitConstantInstruction() argument
214 switch (constantInstruction.opcode) in visitConstantInstruction()
222 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, in visitConstantInstruction()
230 clazz.getRefName(constantInstruction.constantIndex); in visitConstantInstruction()
232 clazz.getRefType(constantInstruction.constantIndex); in visitConstantInstruction()
250 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, in visitConstantInstruction()
259 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, in visitConstantInstruction()
265 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, in visitConstantInstruction()
275 constantInstruction.constantIndex)) in visitConstantInstruction()
283 … clazz.getClassName(constantInstruction.constantIndex)+"]"); in visitConstantInstruction()
[all …]
DSimpleEnumUseSimplifier.java248 …z, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) in visitConstantInstruction() argument
250 switch (constantInstruction.opcode) in visitConstantInstruction()
260 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, in visitConstantInstruction()
268 clazz.getRefName(constantInstruction.constantIndex); in visitConstantInstruction()
270 clazz.getRefType(constantInstruction.constantIndex); in visitConstantInstruction()
277 constantInstruction, in visitConstantInstruction()
293 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, in visitConstantInstruction()
299 int constantIndex = constantInstruction.constantIndex; in visitConstantInstruction()
307 constantInstruction, in visitConstantInstruction()
321 constantInstruction); in visitConstantInstruction()
[all …]
/external/proguard/src/proguard/optimize/
DTailRecursionSimplifier.java144 …z, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) in visitConstantInstruction() argument
147 switch (constantInstruction.opcode) in visitConstantInstruction()
154 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, recursionChecker); in visitConstantInstruction()
160 offset + constantInstruction.length(offset); in visitConstantInstruction()
182 …"+method.getName(clazz)+method.getDescriptor(clazz)+"], inlining "+constantInstruction.toString(of… in visitConstantInstruction()
203 …cursionVisitor.visitConstantInstruction(clazz, method, codeAttribute, offset, constantInstruction); in visitConstantInstruction()
218 codeAttributeComposer.appendInstruction(offset, constantInstruction); in visitConstantInstruction()
DDuplicateInitializerInvocationFixer.java101 …z, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) in visitConstantInstruction() argument
103 if (constantInstruction.opcode == InstructionConstants.OP_INVOKESPECIAL) in visitConstantInstruction()
106 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
120 …iptor(clazz)+"] Inserting "+extraInstruction.toString()+" before "+constantInstruction.toString(of… in visitConstantInstruction()
/external/proguard/src/proguard/classfile/visitor/
DDotClassClassVisitor.java65 …z, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) in visitConstantInstruction() argument
67 byte opcode = constantInstruction.opcode; in visitConstantInstruction()
73 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, in visitConstantInstruction()
/external/proguard/src/proguard/classfile/instruction/
DConstantInstruction.java81 public ConstantInstruction copy(ConstantInstruction constantInstruction) in copy() argument
83 this.opcode = constantInstruction.opcode; in copy()
84 this.constantIndex = constantInstruction.constantIndex; in copy()
85 this.constant = constantInstruction.constant; in copy()
/external/proguard/src/proguard/optimize/peephole/
DMethodInliner.java416 …z, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) in visitConstantInstruction() argument
419 switch (constantInstruction.opcode) in visitConstantInstruction()
442 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
451 …ocationVisitor.visitConstantInstruction(clazz, method, codeAttribute, offset, constantInstruction); in visitConstantInstruction()
466 constantInstruction.constantIndex = in visitConstantInstruction()
467 constantAdder.addConstant(clazz, constantInstruction.constantIndex); in visitConstantInstruction()
470 codeAttributeComposer.appendInstruction(offset, constantInstruction); in visitConstantInstruction()
DInstructionSequenceReplacer.java280 …z, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) in visitConstantInstruction() argument
283 new ConstantInstruction(constantInstruction.opcode, in visitConstantInstruction()
285 constantInstruction.constantIndex), in visitConstantInstruction()
286 … instructionSequenceMatcher.matchedArgument(constantInstruction.constant)); in visitConstantInstruction()
/external/proguard/src/proguard/classfile/util/
DEnumFieldReferenceInitializer.java112 …z, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) in visitConstantInstruction() argument
114 switch (constantInstruction.opcode) in visitConstantInstruction()
119 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
DInstructionSequenceMatcher.java266 …z, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) in visitConstantInstruction() argument
272 matchingOpcodes(constantInstruction, patternInstruction) && in visitConstantInstruction()
274 constantInstruction.constantIndex, in visitConstantInstruction()
276 matchingArguments(constantInstruction.constant, in visitConstantInstruction()
285 constantInstruction); in visitConstantInstruction()
/external/proguard/src/proguard/classfile/instruction/visitor/
DInstructionConstantVisitor.java58 …z, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) in visitConstantInstruction() argument
60 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, in visitConstantInstruction()
DMultiInstructionVisitor.java100 …z, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) in visitConstantInstruction() argument
104 …isitors[index].visitConstantInstruction(clazz, method, codeAttribute, offset, constantInstruction); in visitConstantInstruction()

12