Mercurial > hg > truffle
comparison src/cpu/x86/vm/c1_Runtime1_x86.cpp @ 2054:3c0a889a176b
Added GC stats. Enabling intrinsics.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Wed, 12 Jan 2011 19:14:32 +0100 |
parents | 06f017f7daa7 |
children | 91fe28b03d6a |
comparison
equal
deleted
inserted
replaced
2053:0db8c8cc5b4a | 2054:3c0a889a176b |
---|---|
1341 | 1341 |
1342 // This is called via call_runtime so the arguments | 1342 // This is called via call_runtime so the arguments |
1343 // will be place in C abi locations | 1343 // will be place in C abi locations |
1344 | 1344 |
1345 #ifdef _LP64 | 1345 #ifdef _LP64 |
1346 __ verify_oop(c_rarg0); | 1346 __ verify_oop((UseC1X) ? j_rarg0 : c_rarg0); |
1347 __ mov(rax, c_rarg0); | 1347 __ mov(rax, (UseC1X) ? j_rarg0 : c_rarg0); |
1348 #else | 1348 #else |
1349 // The object is passed on the stack and we haven't pushed a | 1349 // The object is passed on the stack and we haven't pushed a |
1350 // frame yet so it's one work away from top of stack. | 1350 // frame yet so it's one work away from top of stack. |
1351 __ movptr(rax, Address(rsp, 1 * BytesPerWord)); | 1351 __ movptr(rax, Address(rsp, 1 * BytesPerWord)); |
1352 __ verify_oop(rax); | 1352 __ verify_oop(rax); |