public final class OptExceptionDeliverer extends ExceptionDeliverer
Modifier and Type | Field and Description |
---|---|
private static boolean |
TRACE |
Constructor and Description |
---|
OptExceptionDeliverer() |
Modifier and Type | Method and Description |
---|---|
void |
deliverException(CompiledMethod compiledMethod,
Address catchBlockInstructionAddress,
Throwable exceptionObject,
AbstractRegisters registers)
Pass control to a catch block.
|
void |
unwindStackFrame(CompiledMethod compiledMethod,
AbstractRegisters registers)
Unwind a stackframe.
|
private static final boolean TRACE
public OptExceptionDeliverer()
public void deliverException(CompiledMethod compiledMethod, Address catchBlockInstructionAddress, Throwable exceptionObject, AbstractRegisters registers)
deliverException
in class ExceptionDeliverer
compiledMethod
- method whose catch block is to receive controlcatchBlockInstructionAddress
- instruction address at which
to begin execution of catch blockexceptionObject
- exception object to be passed as argument to
catch blockregisters
- registers to be loaded before passing control to
catch blockpublic void unwindStackFrame(CompiledMethod compiledMethod, AbstractRegisters registers)
unwindStackFrame
in class ExceptionDeliverer
compiledMethod
- method whose stackframe is to be unwoundregisters
- thread state to be updated by restoring non-volatiles
and unwinding the stackframe