,--memory address rising
|
-V >>>> sp in method (after initial sub) <<<<
+V >>>> sp in method (after initial sub) (16-byte aligned in non-leaf methods) <<<<
|
| u8[] v arguments for calling methods \__ rd->memuse slots
V u8[] v local variable slots allocated on stack /
| u8[] ^ callee-saved float registers
V u8[] ^ callee-saved integer registers
|
-| >>>> sp on method entry, stack base for replacement <<<<
+| >>>> sp on method entry, stack base for replacement (16-byte aligned) <<<<
V
| u8 return address
| u8[] arguments on stack
alpha stack frames
------------------
+XXX currently the stack on alpha is not 16-byte aligned!
+
,--memory address rising
|
V >>>> sp in method (after initial sub) <<<<
|
V
+
+mips stack frames
+-----------------
+
+,--memory address rising
+|
+V >>>> sp in method (after initial sub) (16-byte aligned) <<<<
+|
+| u8[] v arguments for calling methods \__ rd->memuse slots
+V u8[] v local variable slots allocated on stack /
+|
+| u8 synchronized object / saved return value (only for synched methods)
+| u8[0..1] alignment dummy-slot (to ensure 16-byte alignment of sp)
+V
+| u8[] ^ callee-saved float registers
+| u8[] ^ callee-saved integer registers
+V
+| >>>> !!!replacement code regards this point as stack base!!! <<<<
+|
+V u8 ^ saved return address (only for non-leaf methods)
+|
+| >>>> sp on method entry (16-byte aligned) <<<<
+V
+| u8[] arguments on stack
+|
+V
+