aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/x86/vm/c1_Runtime1_x86.cpp
diff options
context:
space:
mode:
authorxlu <none@none>2009-01-26 12:07:54 -0800
committerxlu <none@none>2009-01-26 12:07:54 -0800
commit1e24d620072112d234a6169edfa4bc4c6895eb70 (patch)
treeb3bcbf14adb891ab1bd9736a92baf50a9d529cab /src/cpu/x86/vm/c1_Runtime1_x86.cpp
parent1a58d596daca7a7721fac95a8ab6b2ee62b907e7 (diff)
6795913: A few remaining wrong casts need to be fixed for building hotspot successfully on Mac OS.
Summary: Use NULL_WORD in the places where intptr_t is expected due to incompatible types between intptr_t & int32_t Reviewed-by: phh, coleenp, never
Diffstat (limited to 'src/cpu/x86/vm/c1_Runtime1_x86.cpp')
-rw-r--r--src/cpu/x86/vm/c1_Runtime1_x86.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/x86/vm/c1_Runtime1_x86.cpp b/src/cpu/x86/vm/c1_Runtime1_x86.cpp
index 9d0d04579..12aea3fde 100644
--- a/src/cpu/x86/vm/c1_Runtime1_x86.cpp
+++ b/src/cpu/x86/vm/c1_Runtime1_x86.cpp
@@ -1393,7 +1393,7 @@ OopMapSet* Runtime1::generate_code_for(StubID id, StubAssembler* sasm) {
__ ret(0);
__ bind(miss);
- __ movptr(Address(rsp, (super_off) * VMRegImpl::stack_slot_size), 0); // result
+ __ movptr(Address(rsp, (super_off) * VMRegImpl::stack_slot_size), NULL_WORD); // result
__ pop(rax);
__ pop(rcx);
__ pop(rsi);