Mercurial > hg > graal-jvmci-8
diff src/share/vm/runtime/frame.inline.hpp @ 17813:af8cc1dae608
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 |
line wrap: on
line diff
--- a/src/share/vm/runtime/frame.inline.hpp Wed Mar 26 18:21:05 2014 -0700 +++ b/src/share/vm/runtime/frame.inline.hpp Wed Feb 26 11:33:34 2014 -0800 @@ -87,6 +87,13 @@ 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