comparison src/cpu/x86/vm/frame_x86.inline.hpp @ 1255:e3a4305c6bc3

6925249: assert(last_sp < (intptr_t*) interpreter_frame_monitor_begin(),"bad tos") Summary: Fix assert since top deoptimized frame has last_sp == interpreter_frame_monitor_begin if there are no expressions. Reviewed-by: twisti
author kvn
date Fri, 12 Feb 2010 08:54:13 -0800
parents 18a389214829
children c18cbe5936b8
comparison
equal deleted inserted replaced
1254:4ee1c645110e 1255:e3a4305c6bc3
231 if (last_sp == NULL) { 231 if (last_sp == NULL) {
232 return sp(); 232 return sp();
233 } else { 233 } else {
234 // sp() may have been extended or shrunk by an adapter. At least 234 // sp() may have been extended or shrunk by an adapter. At least
235 // check that we don't fall behind the legal region. 235 // check that we don't fall behind the legal region.
236 assert(last_sp < (intptr_t*) interpreter_frame_monitor_begin(), "bad tos"); 236 // For top deoptimized frame last_sp == interpreter_frame_monitor_end.
237 assert(last_sp <= (intptr_t*) interpreter_frame_monitor_end(), "bad tos");
237 return last_sp; 238 return last_sp;
238 } 239 }
239 } 240 }
240 241
241 #endif /* CC_INTERP */ 242 #endif /* CC_INTERP */