HomeSort by relevance Sort by last modified time
    Searched full:constantinstruction (Results 1 - 25 of 40) sorted by null

1 2

  /external/proguard/src/proguard/classfile/editor/
InstructionAdder.java 65 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
69 new ConstantInstruction(constantInstruction.opcode,
70 constantAdder.addConstant(clazz, constantInstruction.constantIndex),
71 constantInstruction.constant).shrink();
MethodInvocationFixer.java 81 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
83 int constantIndex = constantInstruction.constantIndex;
94 byte opcode = constantInstruction.opcode;
104 new ConstantInstruction(InstructionConstants.OP_INVOKESTATIC,
111 debug(clazz, method, offset, constantInstruction, replacementInstruction);
125 new ConstantInstruction(InstructionConstants.OP_INVOKESPECIAL,
132 debug(clazz, method, offset, constantInstruction, replacementInstruction);
146 constantInstruction.constant != invokeinterfaceConstant)
150 new ConstantInstruction(InstructionConstants.OP_INVOKEINTERFACE
    [all...]
InstructionWriter.java 74 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
79 constantInstruction.write(codeAttribute, offset);
85 new ConstantInstruction(constantInstruction.opcode,
86 constantInstruction.constantIndex,
87 constantInstruction.constant).shrink();
92 constantInstruction.constantIndex = 0;
93 constantInstruction.constant = 0;
94 constantInstruction.write(codeAttribute, offset)
    [all...]
  /external/proguard/src/proguard/classfile/instruction/
ConstantInstruction.java 36 public class ConstantInstruction extends Instruction
49 * Creates an uninitialized ConstantInstruction.
51 public ConstantInstruction() {}
55 * Creates a new ConstantInstruction with the given opcode and constant pool
58 public ConstantInstruction(byte opcode, int constantIndex)
65 * Creates a new ConstantInstruction with the given opcode, constant pool
68 public ConstantInstruction(byte opcode, int constantIndex, int constant)
78 * @param constantInstruction the instruction to be copied.
81 public ConstantInstruction copy(ConstantInstruction constantInstruction
    [all...]
  /external/proguard/src/proguard/classfile/util/
DynamicMemberReferenceInitializer.java 111 new ConstantInstruction(InstructionConstants.OP_LDC, X),
112 new ConstantInstruction(InstructionConstants.OP_LDC, Y),
113 new ConstantInstruction(InstructionConstants.OP_INVOKEVIRTUAL, 0),
119 new ConstantInstruction(InstructionConstants.OP_LDC, X),
120 new ConstantInstruction(InstructionConstants.OP_LDC, Y),
122 new ConstantInstruction(InstructionConstants.OP_ANEWARRAY, 1),
123 new ConstantInstruction(InstructionConstants.OP_INVOKEVIRTUAL, 0),
129 new ConstantInstruction(InstructionConstants.OP_LDC, X),
130 new ConstantInstruction(InstructionConstants.OP_LDC, Y),
132 new ConstantInstruction(InstructionConstants.OP_ANEWARRAY, 1)
    [all...]
DynamicClassReferenceInitializer.java 89 new ConstantInstruction(InstructionConstants.OP_LDC, X),
90 new ConstantInstruction(InstructionConstants.OP_INVOKESTATIC, 0),
96 new ConstantInstruction(InstructionConstants.OP_INVOKESTATIC, 0),
97 new ConstantInstruction(InstructionConstants.OP_INVOKEVIRTUAL, 6),
98 new ConstantInstruction(InstructionConstants.OP_CHECKCAST, X),
120 new ConstantInstruction(InstructionConstants.OP_LDC, X),
121 new ConstantInstruction(InstructionConstants.OP_INVOKESTATIC, 0),
143 new ConstantInstruction(InstructionConstants.OP_LDC, X),
145 new ConstantInstruction(InstructionConstants.OP_INVOKESTATIC, 0),
152 new ConstantInstruction(InstructionConstants.OP_INVOKESTATIC, 0)
    [all...]
InstructionSequenceMatcher.java 227 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
233 matchingOpcodes(constantInstruction, patternInstruction) &&
235 constantInstruction.constantIndex,
236 ((ConstantInstruction)patternInstruction).constantIndex) &&
237 matchingArguments(constantInstruction.constant,
238 ((ConstantInstruction)patternInstruction).constant);
246 constantInstruction);
  /external/proguard/src/proguard/optimize/info/
DotClassMarker.java 49 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
51 if (constantInstruction.opcode == InstructionConstants.OP_LDC ||
52 constantInstruction.opcode == InstructionConstants.OP_LDC_W)
54 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
ReadWriteFieldMarker.java 53 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
55 byte opcode = constantInstruction.opcode;
65 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
73 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
81 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
InstanceofClassMarker.java 49 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
51 if (constantInstruction.opcode == InstructionConstants.OP_INSTANCEOF)
53 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
InstantiationClassMarker.java 49 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
51 if (constantInstruction.opcode == InstructionConstants.OP_NEW)
53 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
SuperInvocationMarker.java 50 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
52 if (constantInstruction.opcode == InstructionConstants.OP_INVOKESPECIAL)
56 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
MethodInvocationMarker.java 49 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
51 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
AccessMethodMarker.java 53 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
57 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
ExceptionInstructionChecker.java 103 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
105 byte opcode = constantInstruction.opcode;
131 // clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
SideEffectInstructionChecker.java 118 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
120 byte opcode = constantInstruction.opcode;
132 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
  /external/proguard/src/proguard/optimize/peephole/
InstructionSequenceConstants.java 374 new ConstantInstruction(InstructionConstants.OP_LDC, A),
379 new ConstantInstruction(InstructionConstants.OP_LDC, A),
418 new ConstantInstruction(InstructionConstants.OP_LDC, A),
423 new ConstantInstruction(InstructionConstants.OP_LDC, A),
440 new ConstantInstruction(InstructionConstants.OP_LDC2_W, A),
445 new ConstantInstruction(InstructionConstants.OP_LDC2_W, A),
473 new ConstantInstruction(InstructionConstants.OP_LDC, A),
478 new ConstantInstruction(InstructionConstants.OP_LDC, A),
495 new ConstantInstruction(InstructionConstants.OP_LDC, A),
500 new ConstantInstruction(InstructionConstants.OP_LDC, A)
    [all...]
InstructionSequenceReplacer.java 240 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
243 new ConstantInstruction(constantInstruction.opcode,
244 instructionSequenceMatcher.matchedConstantIndex(constantInstruction.constantIndex),
245 instructionSequenceMatcher.matchedArgument(constantInstruction.constant));
MethodInliner.java 379 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
382 switch (constantInstruction.opcode)
405 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
414 extraInlinedInvocationVisitor.visitConstantInstruction(clazz, method, codeAttribute, offset, constantInstruction);
429 constantInstruction.constantIndex =
430 constantAdder.addConstant(clazz, constantInstruction.constantIndex);
433 codeAttributeComposer.appendInstruction(offset, constantInstruction.shrink());
  /external/proguard/src/proguard/evaluation/
InvocationUnit.java 25 import proguard.classfile.instruction.ConstantInstruction;
60 ConstantInstruction constantInstruction,
  /external/proguard/src/proguard/classfile/visitor/
DotClassClassVisitor.java 67 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
69 byte opcode = constantInstruction.opcode;
75 clazz.constantPoolEntryAccept(constantInstruction.constantIndex,
  /external/proguard/src/proguard/optimize/
DuplicateInitializerInvocationFixer.java 101 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
103 if (constantInstruction.opcode == InstructionConstants.OP_INVOKESPECIAL)
106 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
119 System.out.println(" Inserting "+extraInstruction.toString()+" before "+constantInstruction.toString(offset));
TailRecursionSimplifier.java 152 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
155 switch (constantInstruction.opcode)
162 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
168 offset + constantInstruction.length(offset);
190 clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)+"], inlining "+constantInstruction.toString(offset));
211 extraTailRecursionVisitor.visitConstantInstruction(clazz, method, codeAttribute, offset, constantInstruction);
226 codeAttributeComposer.appendInstruction(offset, constantInstruction.shrink());
  /external/proguard/src/proguard/classfile/instruction/visitor/
InstructionVisitor.java 38 public void visitConstantInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction);
MultiInstructionVisitor.java 100 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
104 instructionVisitors[index].visitConstantInstruction(clazz, method, codeAttribute, offset, constantInstruction);

Completed in 222 milliseconds

1 2