Mercurial > hg > truffle
comparison src/os_cpu/solaris_x86/vm/solaris_x86_32.il @ 472:7b920868b475
6773838: There is no calling stack for Compiler thread in hs_err file on x86
Summary: On solaris, the inline assembly wasn't being processed. Added volatile to il file fixed it.
Reviewed-by: phh, kvn
author | coleenp |
---|---|
date | Mon, 08 Dec 2008 15:50:55 -0500 |
parents | a61af66fc99e |
children | 0fbdb4381b99 |
comparison
equal
deleted
inserted
replaced
469:3c4d36b4a7ac | 472:7b920868b475 |
---|---|
35 // Get the raw thread ID from %gs:0 | 35 // Get the raw thread ID from %gs:0 |
36 .inline _raw_thread_id,0 | 36 .inline _raw_thread_id,0 |
37 movl %gs:0, %eax | 37 movl %gs:0, %eax |
38 .end | 38 .end |
39 | 39 |
40 // Get callers fp | 40 // Get current fp |
41 .inline _get_previous_fp,0 | 41 .inline _get_current_fp,0 |
42 .volatile | |
42 movl %ebp, %eax | 43 movl %ebp, %eax |
43 movl %eax, %eax | |
44 .end | 44 .end |
45 | 45 |
46 // Support for jint Atomic::add(jint inc, volatile jint* dest) | 46 // Support for jint Atomic::add(jint inc, volatile jint* dest) |
47 // An additional bool (os::is_MP()) is passed as the last argument. | 47 // An additional bool (os::is_MP()) is passed as the last argument. |
48 .inline _Atomic_add,3 | 48 .inline _Atomic_add,3 |