Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/frame_x86.inline.hpp Wed Feb 26 02:54:49 2014 -0800 +++ b/src/cpu/x86/vm/frame_x86.inline.hpp Wed Feb 26 11:33:34 2014 -0800 @@ -247,6 +247,10 @@ } } +inline oop* frame::interpreter_frame_temp_oop_addr() const { + return (oop *)(fp() + interpreter_frame_oop_temp_offset); +} + #endif /* CC_INTERP */ inline int frame::pd_oop_map_offset_adjustment() const {