Package org.freud.analysed.classbytecode.method.instruction

Examples of org.freud.analysed.classbytecode.method.instruction.Label


            updateCurrentState(instruction);
        }
    }

    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);
View Full Code Here


        final Instruction instruction = new JumpInstruction(instructionList.size(), OPCODES_ARRAY[opcode], currentLineNumber, label);
        updateCurrentState(instruction);
    }

    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);
        }
    }
View Full Code Here

    private Label declareDefaultLookupLabel(final org.objectweb.asm.Label asmLabel) {
        return storeLabel(asmLabel, Label.createDefaultLookupKey(instructionList.size()));
    }

    private Label storeLabel(final org.objectweb.asm.Label asmLabel, final Label label) {
        final Label oldLabel = labelByAsmLabelMap.get(asmLabel);
        if (oldLabel != null) {
            return oldLabel;
        }
        else {
            labelByAsmLabelMap.put(asmLabel, label);
View Full Code Here

TOP

Related Classes of org.freud.analysed.classbytecode.method.instruction.Label

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.