comparison src/share/vm/runtime/frame.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 f2110083203d
children 4ca6dc0799b6
comparison
equal deleted inserted replaced
14507:fae50ee0308d 14508:78112be27ba0
85 85
86 inline bool frame::is_first_frame() const { 86 inline bool frame::is_first_frame() const {
87 return is_entry_frame() && entry_frame_is_first(); 87 return is_entry_frame() && entry_frame_is_first();
88 } 88 }
89 89
90 #ifdef CC_INTERP
91 inline oop* frame::interpreter_frame_temp_oop_addr() const {
92 interpreterState istate = get_interpreterState();
93 return (oop *)&istate->_oop_temp;
94 }
95 #endif // CC_INTERP
96
90 // here are the platform-dependent bodies: 97 // here are the platform-dependent bodies:
91 98
92 #ifdef TARGET_ARCH_x86 99 #ifdef TARGET_ARCH_x86
93 # include "frame_x86.inline.hpp" 100 # include "frame_x86.inline.hpp"
94 #endif 101 #endif