src/share/vm/code/scopeDesc.hpp

changeset 1366
72088be4b386
parent 1335
9987d9d5eb0e
child 1688
f70b0d9ab095
     1.1 --- a/src/share/vm/code/scopeDesc.hpp	Wed Aug 19 19:05:18 2009 -0700
     1.2 +++ b/src/share/vm/code/scopeDesc.hpp	Thu Aug 20 12:42:57 2009 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright 1997-2006 Sun Microsystems, Inc.  All Rights Reserved.
     1.6 + * Copyright 1997-2009 Sun Microsystems, Inc.  All Rights Reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -39,8 +39,7 @@
    1.11      DebugInfoReadStream buffer(code, pc_desc->scope_decode_offset());
    1.12      int ignore_sender = buffer.read_int();
    1.13      _method           = methodOop(buffer.read_oop());
    1.14 -    bool dummy_reexecute; //only methodOop and bci are needed!
    1.15 -    _bci              = buffer.read_bci_and_reexecute(dummy_reexecute);
    1.16 +    _bci              = buffer.read_bci();
    1.17    }
    1.18  
    1.19    methodOop method() { return _method; }
    1.20 @@ -53,12 +52,12 @@
    1.21  class ScopeDesc : public ResourceObj {
    1.22   public:
    1.23    // Constructor
    1.24 -  ScopeDesc(const nmethod* code, int decode_offset, int obj_decode_offset);
    1.25 +  ScopeDesc(const nmethod* code, int decode_offset, int obj_decode_offset, bool reexecute);
    1.26  
    1.27    // Calls above, giving default value of "serialized_null" to the
    1.28    // "obj_decode_offset" argument.  (We don't use a default argument to
    1.29    // avoid a .hpp-.hpp dependency.)
    1.30 -  ScopeDesc(const nmethod* code, int decode_offset);
    1.31 +  ScopeDesc(const nmethod* code, int decode_offset, bool reexecute);
    1.32  
    1.33    // JVM state
    1.34    methodHandle method()   const { return _method; }

mercurial