src/cpu/x86/vm/frame_x86.inline.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 6829187 Cdiff src/cpu/x86/vm/frame_x86.inline.hpp

src/cpu/x86/vm/frame_x86.inline.hpp

Print this page
rev 1082 : [mq]: indy.compiler.patch

*** 223,237 **** } // top of expression stack inline intptr_t* frame::interpreter_frame_tos_address() const { intptr_t* last_sp = interpreter_frame_last_sp(); ! if (last_sp == NULL ) { return sp(); } else { ! // sp() may have been extended by an adapter ! assert(last_sp < fp() && last_sp >= sp(), "bad tos"); return last_sp; } } #endif /* CC_INTERP */ --- 223,238 ---- } // top of expression stack inline intptr_t* frame::interpreter_frame_tos_address() const { intptr_t* last_sp = interpreter_frame_last_sp(); ! if (last_sp == NULL) { return sp(); } else { ! // sp() may have been extended or shrunk by an adapter. At least ! // check that we don't fall behind the legal region. ! assert(last_sp < (intptr_t*) interpreter_frame_monitor_begin(), "bad tos"); return last_sp; } } #endif /* CC_INTERP */
src/cpu/x86/vm/frame_x86.inline.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File