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 |