src/cpu/x86/vm/frame_x86.inline.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 6829187 Sdiff src/cpu/x86/vm

src/cpu/x86/vm/frame_x86.inline.hpp

Print this page
rev 1082 : [mq]: indy.compiler.patch


 208   return (intptr_t*)addr_at(interpreter_frame_mdx_offset);
 209 }
 210 
 211 
 212 
 213 // Constant pool cache
 214 
 215 inline constantPoolCacheOop* frame::interpreter_frame_cache_addr() const {
 216   return (constantPoolCacheOop*)addr_at(interpreter_frame_cache_offset);
 217 }
 218 
 219 // Method
 220 
 221 inline methodOop* frame::interpreter_frame_method_addr() const {
 222   return (methodOop*)addr_at(interpreter_frame_method_offset);
 223 }
 224 
 225 // top of expression stack
 226 inline intptr_t* frame::interpreter_frame_tos_address() const {
 227   intptr_t* last_sp = interpreter_frame_last_sp();
 228   if (last_sp == NULL ) {
 229     return sp();
 230   } else {
 231     // sp() may have been extended by an adapter
 232     assert(last_sp < fp() && last_sp >= sp(), "bad tos");

 233     return last_sp;
 234   }
 235 }
 236 
 237 #endif /* CC_INTERP */
 238 
 239 inline int frame::pd_oop_map_offset_adjustment() const {
 240   return 0;
 241 }
 242 
 243 inline int frame::interpreter_frame_monitor_size() {
 244   return BasicObjectLock::size();
 245 }
 246 
 247 
 248 // expression stack
 249 // (the max_stack arguments are used by the GC; see class FrameClosure)
 250 
 251 inline intptr_t* frame::interpreter_frame_expression_stack() const {
 252   intptr_t* monitor_end = (intptr_t*) interpreter_frame_monitor_end();




 208   return (intptr_t*)addr_at(interpreter_frame_mdx_offset);
 209 }
 210 
 211 
 212 
 213 // Constant pool cache
 214 
 215 inline constantPoolCacheOop* frame::interpreter_frame_cache_addr() const {
 216   return (constantPoolCacheOop*)addr_at(interpreter_frame_cache_offset);
 217 }
 218 
 219 // Method
 220 
 221 inline methodOop* frame::interpreter_frame_method_addr() const {
 222   return (methodOop*)addr_at(interpreter_frame_method_offset);
 223 }
 224 
 225 // top of expression stack
 226 inline intptr_t* frame::interpreter_frame_tos_address() const {
 227   intptr_t* last_sp = interpreter_frame_last_sp();
 228   if (last_sp == NULL) {
 229     return sp();
 230   } else {
 231     // sp() may have been extended or shrunk by an adapter.  At least
 232     // check that we don't fall behind the legal region.
 233     assert(last_sp < (intptr_t*) interpreter_frame_monitor_begin(), "bad tos");
 234     return last_sp;
 235   }
 236 }
 237 
 238 #endif /* CC_INTERP */
 239 
 240 inline int frame::pd_oop_map_offset_adjustment() const {
 241   return 0;
 242 }
 243 
 244 inline int frame::interpreter_frame_monitor_size() {
 245   return BasicObjectLock::size();
 246 }
 247 
 248 
 249 // expression stack
 250 // (the max_stack arguments are used by the GC; see class FrameClosure)
 251 
 252 inline intptr_t* frame::interpreter_frame_expression_stack() const {
 253   intptr_t* monitor_end = (intptr_t*) interpreter_frame_monitor_end();


src/cpu/x86/vm/frame_x86.inline.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File