src/share/vm/runtime/vframe_hp.cpp

changeset 1338
15bbd3f505c0
parent 1279
bd02caa94611
parent 1335
9987d9d5eb0e
child 1907
c18cbe5936b8
     1.1 --- a/src/share/vm/runtime/vframe_hp.cpp	Wed Aug 05 18:54:12 2009 -0700
     1.2 +++ b/src/share/vm/runtime/vframe_hp.cpp	Thu Aug 06 09:37:26 2009 -0700
     1.3 @@ -276,6 +276,15 @@
     1.4    return scope()->bci();
     1.5  }
     1.6  
     1.7 +bool compiledVFrame::should_reexecute() const {
     1.8 +  if (scope() == NULL) {
     1.9 +    // native nmethods have no scope the method/bci is implied
    1.10 +    nmethod* nm = code();
    1.11 +    assert(nm->is_native_method(), "must be native");
    1.12 +    return false;
    1.13 +  }
    1.14 +  return scope()->should_reexecute();
    1.15 +}
    1.16  
    1.17  vframe* compiledVFrame::sender() const {
    1.18    const frame f = fr();

mercurial