src/share/vm/code/scopeDesc.hpp

changeset 1335
9987d9d5eb0e
parent 435
a61af66fc99e
child 1366
72088be4b386
     1.1 --- a/src/share/vm/code/scopeDesc.hpp	Fri Jul 31 12:04:07 2009 -0700
     1.2 +++ b/src/share/vm/code/scopeDesc.hpp	Fri Jul 31 17:12:33 2009 -0700
     1.3 @@ -39,7 +39,8 @@
     1.4      DebugInfoReadStream buffer(code, pc_desc->scope_decode_offset());
     1.5      int ignore_sender = buffer.read_int();
     1.6      _method           = methodOop(buffer.read_oop());
     1.7 -    _bci              = buffer.read_bci();
     1.8 +    bool dummy_reexecute; //only methodOop and bci are needed!
     1.9 +    _bci              = buffer.read_bci_and_reexecute(dummy_reexecute);
    1.10    }
    1.11  
    1.12    methodOop method() { return _method; }
    1.13 @@ -60,8 +61,9 @@
    1.14    ScopeDesc(const nmethod* code, int decode_offset);
    1.15  
    1.16    // JVM state
    1.17 -  methodHandle method() const { return _method; }
    1.18 -  int          bci()    const { return _bci;    }
    1.19 +  methodHandle method()   const { return _method; }
    1.20 +  int          bci()      const { return _bci;    }
    1.21 +  bool should_reexecute() const { return _reexecute; }
    1.22  
    1.23    GrowableArray<ScopeValue*>*   locals();
    1.24    GrowableArray<ScopeValue*>*   expressions();
    1.25 @@ -86,6 +88,7 @@
    1.26    // JVM state
    1.27    methodHandle  _method;
    1.28    int           _bci;
    1.29 +  bool          _reexecute;
    1.30  
    1.31    // Decoding offsets
    1.32    int _decode_offset;

mercurial