Mercurial > hg > graal-compiler
diff src/os_cpu/solaris_x86/vm/solaris_x86_32.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_32.il Fri Feb 24 12:33:31 2012 -0800 +++ b/src/os_cpu/solaris_x86/vm/solaris_x86_32.il Mon Feb 27 09:17:44 2012 +0100 @@ -37,6 +37,12 @@ movl %gs:0, %eax .end + // Get current sp + .inline _get_current_sp,0 + .volatile + movl %esp, %eax + .end + // Get current fp .inline _get_current_fp,0 .volatile