src/share/vm/runtime/vframe_hp.cpp

changeset 1335
9987d9d5eb0e
parent 1253
b109e761e927
child 1338
15bbd3f505c0
equal deleted inserted replaced
1334:55cb84cd1247 1335:9987d9d5eb0e
274 return 0; 274 return 0;
275 } 275 }
276 return scope()->bci(); 276 return scope()->bci();
277 } 277 }
278 278
279 bool compiledVFrame::should_reexecute() const {
280 if (scope() == NULL) {
281 // native nmethods have no scope the method/bci is implied
282 nmethod* nm = code();
283 assert(nm->is_native_method(), "must be native");
284 return false;
285 }
286 return scope()->should_reexecute();
287 }
279 288
280 vframe* compiledVFrame::sender() const { 289 vframe* compiledVFrame::sender() const {
281 const frame f = fr(); 290 const frame f = fr();
282 if (scope() == NULL) { 291 if (scope() == NULL) {
283 // native nmethods have no scope the method/bci is implied 292 // native nmethods have no scope the method/bci is implied

mercurial