comparison 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
comparison
equal deleted inserted replaced
5902:c7987cbaf2ca 5903:da4be62fb889
26 // and is set to the number of arguments as documentation. 26 // and is set to the number of arguments as documentation.
27 27
28 // Get the raw thread ID from %gs:0 28 // Get the raw thread ID from %gs:0
29 .inline _raw_thread_id,0 29 .inline _raw_thread_id,0
30 movq %fs:0, %rax 30 movq %fs:0, %rax
31 .end
32
33 // Get current sp
34 .inline _get_current_sp,0
35 .volatile
36 movq %rsp, %rax
31 .end 37 .end
32 38
33 // Get current fp 39 // Get current fp
34 .inline _get_current_fp,0 40 .inline _get_current_fp,0
35 .volatile 41 .volatile