Mercurial > hg > truffle
comparison src/share/vm/runtime/vframe_hp.cpp @ 903:15bbd3f505c0
Merge
author | kvn |
---|---|
date | Thu, 06 Aug 2009 09:37:26 -0700 |
parents | bd02caa94611 9987d9d5eb0e |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
891:703065c670fa | 903:15bbd3f505c0 |
---|---|
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 |