org.jikesrvm.compilers.opt.bc2ir
Class BC2IR.HandlerBlockLE
java.lang.Object
org.jikesrvm.compilers.opt.bc2ir.BC2IR.BasicBlockLE
org.jikesrvm.compilers.opt.bc2ir.BC2IR.HandlerBlockLE
- Enclosing class:
- BC2IR
private static final class BC2IR.HandlerBlockLE
- extends BC2IR.BasicBlockLE
Extend BasicBlockLE for handler blocks
| Fields inherited from class org.jikesrvm.compilers.opt.bc2ir.BC2IR.BasicBlockLE |
block, fallThrough, handlers, high, left, localState, low, max, parent, right, stackState |
| Methods inherited from class org.jikesrvm.compilers.opt.bc2ir.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);
BC2IR.HandlerBlockLE
BC2IR.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)