diff src/cpu/x86/vm/stubRoutines_x86_64.hpp @ 5903:da4be62fb889

7147740: add assertions to check stack alignment on VM entry from generated code (x64) Summary: check stack alignment on VM entry on x64. Reviewed-by: kvn, never
author roland
date Mon, 27 Feb 2012 09:17:44 +0100
parents cba7b5c2d53f
children b9a9ed0f8eeb
line wrap: on
line diff
--- a/src/cpu/x86/vm/stubRoutines_x86_64.hpp	Fri Feb 24 12:33:31 2012 -0800
+++ b/src/cpu/x86/vm/stubRoutines_x86_64.hpp	Mon Feb 27 09:17:44 2012 +0100
@@ -41,6 +41,7 @@
 
  private:
   static address _get_previous_fp_entry;
+  static address _get_previous_sp_entry;
   static address _verify_mxcsr_entry;
 
   static address _f2i_fixup;
@@ -61,6 +62,11 @@
     return _get_previous_fp_entry;
   }
 
+  static address get_previous_sp_entry()
+  {
+    return _get_previous_sp_entry;
+  }
+
   static address verify_mxcsr_entry()
   {
     return _verify_mxcsr_entry;