CACAO
|
Go to the source code of this file.
Macros | |
#define | TRAP_INSTRUCTION_IS_LOAD 1 |
Trap number defines. More... | |
Enumerations | |
enum | { TRAP_NullPointerException = 0, TRAP_ArithmeticException = 1, TRAP_ArrayIndexOutOfBoundsException = 2, TRAP_ArrayStoreException = 3, TRAP_ClassCastException = 5, TRAP_CHECK_EXCEPTION = 6, TRAP_PATCHER = 7, TRAP_COMPILER = 9, TRAP_COUNTDOWN = 10, TRAP_END } |
#define TRAP_INSTRUCTION_IS_LOAD 1 |
Trap number defines.
On this architecture (sparc64) the trap numbers are used as load displacements and thus must not be 4- or 8-byte aligned.
NOTE: In trap_init() we have a check whether the offset of java_arrayheader.data[0] is greater than the largest displacement defined below. Otherwise normal array loads/stores could trigger an exception.
Definition at line 44 of file md-trap.hpp.
anonymous enum |
Definition at line 46 of file md-trap.hpp.