public final class BaselineExceptionDeliverer extends ExceptionDeliverer
Constructor and Description |
---|
BaselineExceptionDeliverer() |
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.
|
public BaselineExceptionDeliverer()
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