comparison src/cpu/x86/vm/frame_x86.inline.hpp @ 1257:7b4415a18c8a

Merge
author kvn
date Fri, 12 Feb 2010 15:27:36 -0800
parents e3a4305c6bc3
children c18cbe5936b8
comparison
equal deleted inserted replaced
1249:95d21201c29a 1257:7b4415a18c8a
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 */