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

1 2 3

  /external/proguard/src/proguard/optimize/peephole/
InstructionSequenceConstants.java     [all...]
InstructionSequenceReplacer.java 279 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
282 new ConstantInstruction(constantInstruction.opcode,
284 constantInstruction.constantIndex),
285 instructionSequenceMatcher.matchedArgument(constantInstruction.constant));
  /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);
MethodInvocationFixer.java 78 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
80 int constantIndex = constantInstruction.constantIndex;
92 byte opcode = constantInstruction.opcode;
102 new ConstantInstruction(InstructionConstants.OP_INVOKESTATIC,
109 debug(clazz, method, offset, constantInstruction, replacementInstruction);
123 new ConstantInstruction(InstructionConstants.OP_INVOKESPECIAL,
130 debug(clazz, method, offset, constantInstruction, replacementInstruction);
144 constantInstruction.constant != invokeinterfaceConstant)
148 new ConstantInstruction(InstructionConstants.OP_INVOKEINTERFACE
    [all...]
InstructionWriter.java 95 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
100 constantInstruction.write(codeAttribute, offset);
106 new ConstantInstruction(constantInstruction.opcode,
107 constantInstruction.constantIndex,
108 constantInstruction.constant);
112 System.out.println(" "+constantInstruction.toString(offset)+" will be widened to "+replacementInstruction.toString());
118 constantInstruction.constantIndex = 0;
119 constantInstruction.constant = 0
    [all...]
BridgeMethodFixer.java 84 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
86 switch (constantInstruction.opcode)
93 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
  /external/proguard/src/proguard/classfile/util/
DynamicMemberReferenceInitializer.java 166 new ConstantInstruction(InstructionConstants.OP_LDC, CLASS_INDEX),
167 new ConstantInstruction(InstructionConstants.OP_LDC, MEMBER_NAME_INDEX),
168 new ConstantInstruction(InstructionConstants.OP_INVOKEVIRTUAL, 0),
174 // new ConstantInstruction(InstructionConstants.OP_LDC, CLASS_INDEX),
176 // new ConstantInstruction(InstructionConstants.OP_ANEWARRAY, 1),
177 // new ConstantInstruction(InstructionConstants.OP_INVOKEVIRTUAL, 0),
183 // new ConstantInstruction(InstructionConstants.OP_LDC, CLASS_INDEX),
185 // new ConstantInstruction(InstructionConstants.OP_ANEWARRAY, 1),
188 // new ConstantInstruction(InstructionConstants.OP_LDC, PARAMETER0_CLASS_INDEX),
190 // new ConstantInstruction(InstructionConstants.OP_INVOKEVIRTUAL, 0)
    [all...]
EnumFieldReferenceInitializer.java 113 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
115 switch (constantInstruction.opcode)
120 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
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...]
  /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);
ExceptionInstructionChecker.java 108 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
110 byte opcode = constantInstruction.opcode;
138 // clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
SideEffectInstructionChecker.java 155 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
157 byte opcode = constantInstruction.opcode;
168 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
186 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
  /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/instruction/visitor/
InstructionConstantVisitor.java 60 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
62 clazz.constantPoolEntryAccept(constantInstruction.constantIndex,
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);
  /external/proguard/src/proguard/evaluation/
InvocationUnit.java 25 import proguard.classfile.instruction.ConstantInstruction;
60 ConstantInstruction constantInstruction,
  /external/proguard/src/proguard/classfile/visitor/
DotClassClassVisitor.java 65 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
67 byte opcode = constantInstruction.opcode;
73 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);
120 System.out.println(" ["+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)+"] Inserting "+extraInstruction.toString()+" before "+constantInstruction.toString(offset));
TailRecursionSimplifier.java 145 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
148 switch (constantInstruction.opcode)
155 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, recursionChecker);
161 offset + constantInstruction.length(offset);
183 clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)+"], inlining "+constantInstruction.toString(offset));
204 extraTailRecursionVisitor.visitConstantInstruction(clazz, method, codeAttribute, offset, constantInstruction);
219 codeAttributeComposer.appendInstruction(offset, constantInstruction);

Completed in 2387 milliseconds

1 2 3