Method Summary |
|
public void | addInstruction(InstructionHandle handle) Add an InstructionHandle to the basic block. |
public boolean | containsInstruction(InstructionHandle handle) Return whether or not the basic block contains the given instruction. |
public boolean | containsInstructionWithOffset(int offset) Return whether or not the basic block contains the instruction
with the given bytecode offset. |
public CodeExceptionGen | getExceptionGen() Get CodeExceptionGen object; returns null if this basic block is
not the entry point of an exception handler. |
public InstructionHandle | getExceptionThrower() Get the instruction for which this block is an exception thrower. |
public InstructionHandle | getFirstInstruction() Get the first instruction in the basic block. |
public int | getId() Get the basic block's integer label. |
public InstructionHandle | getLastInstruction() Get the last instruction in the basic block. |
int | getNumNonExceptionSuccessors() |
public InstructionHandle | getPredecessorOf(InstructionHandle handle) Get the predecessor of given instruction within the basic block. |
public InstructionHandle | getSuccessorOf(InstructionHandle handle) Get the successor of given instruction within the basic block. |
public InstructionIterator | instructionIterator() Get an Iterator over the instructions in the basic block. |
public Iterator<InstructionHandle> | instructionReverseIterator() Get an Iterator over the instructions in the basic block in reverse order. |
public boolean | isEmpty() Return true if there are no Instructions in this basic block. |
public boolean | isExceptionHandler() |
public boolean | isExceptionThrower() Return whether or not this block is an exception thrower. |
public boolean | isInJSRSubroutine() |
public boolean | isNullCheck() Return whether or not this block is a null check. |
public int | pos() |
public void | setExceptionGen(CodeExceptionGen exceptionGen) Set the CodeExceptionGen object. |
public void | setExceptionThrower(InstructionHandle exceptionThrower) Set the instruction for which this block is the ETB. |
void | setInJSRSubroutine(boolean inJSRSubroutine) |
void | setNumNonExceptionSuccessors(int numNonExceptionSuccessors) |
public String | toString() |