diff src/os_cpu/solaris_x86/vm/solaris_x86_64.il @ 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 7ab5f6318694
children b9a9ed0f8eeb
line wrap: on
line diff
--- a/src/os_cpu/solaris_x86/vm/solaris_x86_64.il	Fri Feb 24 12:33:31 2012 -0800
+++ b/src/os_cpu/solaris_x86/vm/solaris_x86_64.il	Mon Feb 27 09:17:44 2012 +0100
@@ -30,6 +30,12 @@
       movq     %fs:0, %rax 
       .end
 
+  // Get current sp
+      .inline _get_current_sp,0
+      .volatile
+      movq     %rsp, %rax 
+      .end
+
   // Get current fp
       .inline _get_current_fp,0
       .volatile