Browse Source

356612

tags/V1_6_12
aclement 12 years ago
parent
commit
11f0639de5

+ 19
- 1
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionList.java View File

* *
* A list is finally dumped to a byte code array with <a href="#getByteCode()">getByteCode</a>. * A list is finally dumped to a byte code array with <a href="#getByteCode()">getByteCode</a>.
* *
* @version $Id: InstructionList.java,v 1.11 2010/09/15 18:18:01 aclement Exp $
* @version $Id: InstructionList.java,v 1.12 2011/09/02 22:33:04 aclement Exp $
* @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A> * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
* @author Abraham Nevado * @author Abraham Nevado
* @see Instruction * @see Instruction
return ih; return ih;
} }


public InstructionHandle appendDUP() {
InstructionHandle ih = InstructionHandle.getInstructionHandle(InstructionConstants.DUP);
append(ih);
return ih;
}

public InstructionHandle appendNOP() {
InstructionHandle ih = InstructionHandle.getInstructionHandle(InstructionConstants.NOP);
append(ih);
return ih;
}

public InstructionHandle appendPOP() {
InstructionHandle ih = InstructionHandle.getInstructionHandle(InstructionConstants.POP);
append(ih);
return ih;
}

/** /**
* Append a branch instruction to the end of this list. * Append a branch instruction to the end of this list.
* *

Loading…
Cancel
Save