Go to the source code of this file.
#define SIZE_OF_STACKSLOT 8 |
#define STACK_SLOTS_PER_FLOAT 1 |
Restore callee-saved registers (including the RA register), set the stack pointer to the next stackframe, set the PC to the return address of the popped frame.
*** This function imitates the effects of the method epilog *** *** and returning from the method call. ***
- Parameters
-
es | Execution state to be modified. NOTE: es->code and es->pv are NOT updated. |
Definition at line 52 of file executionstate.cpp.
void executionstate_sanity_check |
( |
void * |
context | ) |
|
Performs stack unwinding in case of an exception.
This is done by popping frames off the given execution state until a frame is reached for which there is a handler. Execution will continue at the handler site once the execution state is written back to the machine.
- Parameters
-
es | Execution state to be modified. |
e | The thrown exception object. |
This is specified in: The Java(TM) Virtual Machine Specification, Second Edition Section 3.6.5: Abrupt Method Invocation Completion
Definition at line 175 of file executionstate.cpp.
Read the given context into an executionstate.
- Parameters
-
es | execution state |
context | machine context |
Definition at line 107 of file md-os.cpp.
Write the given executionstate back to the context.
- Parameters
-
es | execution state |
context | machine context |
Definition at line 148 of file md-os.cpp.