org.jikesrvm.compilers.opt.bc2ir
Class HandlerBlockLE
java.lang.Object
org.jikesrvm.compilers.opt.bc2ir.BasicBlockLE
org.jikesrvm.compilers.opt.bc2ir.HandlerBlockLE
final class HandlerBlockLE
- extends BasicBlockLE
Extend BasicBlockLE for handler blocks
Fields inherited from class org.jikesrvm.compilers.opt.bc2ir.BasicBlockLE |
block, fallThrough, handlers, high, left, localState, low, max, parent, right, stackState |
Methods inherited from class org.jikesrvm.compilers.opt.bc2ir.BasicBlockLE |
addHandler, clearGenerated, clearInCodeOrder, clearLocalKnown, clearSelfRegen, clearStackKnown, copyIntoLocalState, copyLocalState, genState, isBlack, isGenerated, isInCodeOrder, isLocalKnown, isReadyToGenerate, isRed, isSelfRegen, isStackKnown, setBlack, setGenerated, setInCodeOrder, setLocalKnown, setRed, setSelfRegen, setStackKnown, toString |
exceptionObject
final RegisterOperand exceptionObject
- The RegisterOperand that code should use to access
the caught exception object
entryBlock
final ExceptionHandlerBasicBlock entryBlock
- The synthetic entry basic block for this handler.
It contains the instruction sequence to get the caught exception object
into a "normal" register operand (exceptionObject);
HandlerBlockLE
HandlerBlockLE(int loc,
InlineSequence position,
TypeOperand eType,
ArchitectureSpecificOpt.RegisterPool temps,
int exprStackSize,
ControlFlowGraph cfg)
- Create a new exception handler BBLE (and exception handler basic block)
for the specified bytecode index and exception type.
- Parameters:
loc
- bytecode indexposition
- inline sequenceeType
- exception typetemps
- the register pool to allocate exceptionObject fromexprStackSize
- max size of expression stackcfg
- ControlFlowGraph into which the block
will eventually be inserted
addCaughtException
void addCaughtException(TypeOperand et)
mayCatchException
byte mayCatchException(TypeReference et)
mustCatchException
byte mustCatchException(TypeReference et)