src/share/vm/runtime/frame.hpp

changeset 1635
ba263cfb7611
parent 1573
dd57230ba8fe
child 1636
24128c2ffa87
     1.1 --- a/src/share/vm/runtime/frame.hpp	Thu Jan 28 20:41:37 2010 -0800
     1.2 +++ b/src/share/vm/runtime/frame.hpp	Fri Jan 29 12:13:05 2010 +0100
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright 1997-2009 Sun Microsystems, Inc.  All Rights Reserved.
     1.6 + * Copyright 1997-2010 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 @@ -141,6 +141,14 @@
    1.11    frame sender_for_interpreter_frame(RegisterMap* map) const;
    1.12    frame sender_for_native_frame(RegisterMap* map) const;
    1.13  
    1.14 +#if ASSERT
    1.15 +  // Used in frame::sender_for_{interpreter,compiled}_frame
    1.16 +  static void verify_deopt_original_pc(   nmethod* nm, intptr_t* unextended_sp, bool is_method_handle_return = false);
    1.17 +  static void verify_deopt_mh_original_pc(nmethod* nm, intptr_t* unextended_sp) {
    1.18 +    verify_deopt_original_pc(nm, unextended_sp, true);
    1.19 +  }
    1.20 +#endif
    1.21 +
    1.22    // All frames:
    1.23  
    1.24    // A low-level interface for vframes:

mercurial