Mercurial > hg > graal-compiler
comparison src/cpu/sparc/vm/frame_sparc.inline.hpp @ 7199:cd3d6a6b95d9
8003240: x86: move MacroAssembler into separate file
Reviewed-by: kvn
author | twisti |
---|---|
date | Fri, 30 Nov 2012 15:23:16 -0800 |
parents | da91efe96a93 |
children | f0c2369fda5a |
comparison
equal
deleted
inserted
replaced
7198:6ab62ad83507 | 7199:cd3d6a6b95d9 |
---|---|
183 // top of expression stack (lowest address) | 183 // top of expression stack (lowest address) |
184 inline intptr_t* frame::interpreter_frame_tos_address() const { | 184 inline intptr_t* frame::interpreter_frame_tos_address() const { |
185 return *interpreter_frame_esp_addr() + 1; | 185 return *interpreter_frame_esp_addr() + 1; |
186 } | 186 } |
187 | 187 |
188 inline BasicObjectLock** frame::interpreter_frame_monitors_addr() const { | |
189 return (BasicObjectLock**) sp_addr_at(Lmonitors->sp_offset_in_saved_window()); | |
190 } | |
191 inline intptr_t** frame::interpreter_frame_esp_addr() const { | |
192 return (intptr_t**)sp_addr_at(Lesp->sp_offset_in_saved_window()); | |
193 } | |
194 | |
188 inline void frame::interpreter_frame_set_tos_address( intptr_t* x ) { | 195 inline void frame::interpreter_frame_set_tos_address( intptr_t* x ) { |
189 *interpreter_frame_esp_addr() = x - 1; | 196 *interpreter_frame_esp_addr() = x - 1; |
190 } | 197 } |
191 | 198 |
192 // monitor elements | 199 // monitor elements |