src/share/vm/runtime/frame.inline.hpp

Print this page
rev 5992 : 8035396: Introduce accessor for tmp_oop in frame.

@@ -85,10 +85,17 @@
 
 inline bool frame::is_first_frame() const {
   return is_entry_frame() && entry_frame_is_first();
 }
 
+#ifdef CC_INTERP
+inline oop* frame::interpreter_frame_temp_oop_addr() const {
+  interpreterState istate = get_interpreterState();
+  return (oop *)&istate->_oop_temp;
+}
+#endif // CC_INTERP
+
 // here are the platform-dependent bodies:
 
 #ifdef TARGET_ARCH_x86
 # include "frame_x86.inline.hpp"
 #endif