comparison src/cpu/x86/vm/frame_x86.inline.hpp @ 14508:78112be27ba0

8035396: Introduce accessor for tmp_oop in frame. Summary: Avoid #ifs by introducing the accessor function interpreter_frame_temp_oop_addr(). Reviewed-by: kvn, twisti
author goetz
date Wed, 26 Feb 2014 11:33:34 -0800
parents de6a9e811145
children d8041d695d19
comparison
equal deleted inserted replaced
14507:fae50ee0308d 14508:78112be27ba0
245 assert(last_sp <= (intptr_t*) interpreter_frame_monitor_end(), "bad tos"); 245 assert(last_sp <= (intptr_t*) interpreter_frame_monitor_end(), "bad tos");
246 return last_sp; 246 return last_sp;
247 } 247 }
248 } 248 }
249 249
250 inline oop* frame::interpreter_frame_temp_oop_addr() const {
251 return (oop *)(fp() + interpreter_frame_oop_temp_offset);
252 }
253
250 #endif /* CC_INTERP */ 254 #endif /* CC_INTERP */
251 255
252 inline int frame::pd_oop_map_offset_adjustment() const { 256 inline int frame::pd_oop_map_offset_adjustment() const {
253 return 0; 257 return 0;
254 } 258 }