comparison src/cpu/sparc/vm/frame_sparc.inline.hpp @ 7206:d2f8c38e543d

Merge
author roland
date Fri, 07 Dec 2012 01:09:03 -0800
parents f0c2369fda5a
children a7a93887b4c4 e619a2766bcc
comparison
equal deleted inserted replaced
7191:816b7e5bf2ed 7206:d2f8c38e543d
22 * 22 *
23 */ 23 */
24 24
25 #ifndef CPU_SPARC_VM_FRAME_SPARC_INLINE_HPP 25 #ifndef CPU_SPARC_VM_FRAME_SPARC_INLINE_HPP
26 #define CPU_SPARC_VM_FRAME_SPARC_INLINE_HPP 26 #define CPU_SPARC_VM_FRAME_SPARC_INLINE_HPP
27
28 #include "asm/macroAssembler.hpp"
27 29
28 // Inline functions for SPARC frames: 30 // Inline functions for SPARC frames:
29 31
30 // Constructors 32 // Constructors
31 33
183 // top of expression stack (lowest address) 185 // top of expression stack (lowest address)
184 inline intptr_t* frame::interpreter_frame_tos_address() const { 186 inline intptr_t* frame::interpreter_frame_tos_address() const {
185 return *interpreter_frame_esp_addr() + 1; 187 return *interpreter_frame_esp_addr() + 1;
186 } 188 }
187 189
190 inline BasicObjectLock** frame::interpreter_frame_monitors_addr() const {
191 return (BasicObjectLock**) sp_addr_at(Lmonitors->sp_offset_in_saved_window());
192 }
193 inline intptr_t** frame::interpreter_frame_esp_addr() const {
194 return (intptr_t**)sp_addr_at(Lesp->sp_offset_in_saved_window());
195 }
196
188 inline void frame::interpreter_frame_set_tos_address( intptr_t* x ) { 197 inline void frame::interpreter_frame_set_tos_address( intptr_t* x ) {
189 *interpreter_frame_esp_addr() = x - 1; 198 *interpreter_frame_esp_addr() = x - 1;
190 } 199 }
191 200
192 // monitor elements 201 // monitor elements