diff src/cpu/x86/vm/frame_x86.hpp @ 1204:18a389214829

6921352: JSR 292 needs its own deopt handler Summary: We need to introduce a new MH deopt handler so we can easily determine if the deopt happened at a MH call site or not. Reviewed-by: never, jrose
author twisti
date Mon, 01 Feb 2010 19:29:46 +0100
parents a61af66fc99e
children c18cbe5936b8
line wrap: on
line diff
--- a/src/cpu/x86/vm/frame_x86.hpp	Fri Jan 29 22:51:41 2010 -0800
+++ b/src/cpu/x86/vm/frame_x86.hpp	Mon Feb 01 19:29:46 2010 +0100
@@ -163,6 +163,14 @@
     return (intptr_t*) addr_at(offset);
   }
 
+#if ASSERT
+  // Used in frame::sender_for_{interpreter,compiled}_frame
+  static void verify_deopt_original_pc(   nmethod* nm, intptr_t* unextended_sp, bool is_method_handle_return = false);
+  static void verify_deopt_mh_original_pc(nmethod* nm, intptr_t* unextended_sp) {
+    verify_deopt_original_pc(nm, unextended_sp, true);
+  }
+#endif
+
  public:
   // Constructors