Mercurial > hg > truffle
comparison src/os_cpu/solaris_x86/vm/solaris_x86_32.ad @ 304:dc7f315e41f7
5108146: Merge i486 and amd64 cpu directories
6459804: Want client (c1) compiler for x86_64 (amd64) for faster start-up
Reviewed-by: kvn
author | never |
---|---|
date | Wed, 27 Aug 2008 00:21:55 -0700 |
parents | a61af66fc99e |
children | 9ee9cf798b59 |
comparison
equal
deleted
inserted
replaced
303:fa4d1d240383 | 304:dc7f315e41f7 |
---|---|
60 %} | 60 %} |
61 | 61 |
62 enc_class solaris_breakpoint %{ | 62 enc_class solaris_breakpoint %{ |
63 MacroAssembler* masm = new MacroAssembler(&cbuf); | 63 MacroAssembler* masm = new MacroAssembler(&cbuf); |
64 // Really need to fix this | 64 // Really need to fix this |
65 masm->pushl(rax); | 65 masm->push(rax); |
66 masm->pushl(rcx); | 66 masm->push(rcx); |
67 masm->pushl(rdx); | 67 masm->push(rdx); |
68 masm->call(RuntimeAddress(CAST_FROM_FN_PTR(address, os::breakpoint))); | 68 masm->call(RuntimeAddress(CAST_FROM_FN_PTR(address, os::breakpoint))); |
69 masm->popl(rdx); | 69 masm->pop(rdx); |
70 masm->popl(rcx); | 70 masm->pop(rcx); |
71 masm->popl(rax); | 71 masm->pop(rax); |
72 %} | 72 %} |
73 | 73 |
74 enc_class call_epilog %{ | 74 enc_class call_epilog %{ |
75 if( VerifyStackAtCalls ) { | 75 if( VerifyStackAtCalls ) { |
76 // Check that stack depth is unchanged: find majik cookie on stack | 76 // Check that stack depth is unchanged: find majik cookie on stack |