use of org.freud.analysed.classbytecode.method.instruction.Label in project freud by LMAX-Exchange.
the class AsmMethod method visitJumpInsn.
public void visitJumpInsn(final int opcode, final org.objectweb.asm.Label asmLabel) {
Label label = declareLabel(asmLabel);
// System.out.println(name + " " + OPCODES_ARRAY[opcode] + " " + asmLabel + " " + label);
final Instruction instruction = new JumpInstruction(instructionList.size(), OPCODES_ARRAY[opcode], currentLineNumber, label);
updateCurrentState(instruction);
}
use of org.freud.analysed.classbytecode.method.instruction.Label in project freud by LMAX-Exchange.
the class AsmMethod method visitLabel.
public void visitLabel(final org.objectweb.asm.Label asmLabel) {
final Label label = declareLabel(asmLabel);
label.declare(instructionList.size());
final String handledType = label.getHandledType();
if (handledType != null) {
currentOperandStack = new StaticOperandStack(handledType, currentOperandStack, null);
}
}
Aggregations