Mercurial > hg > truffle
comparison src/cpu/x86/vm/c1_Runtime1_x86.cpp @ 533:dc3ad84615cf
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
author | xlu |
---|---|
date | Mon, 26 Jan 2009 12:07:54 -0800 |
parents | db4caa99ef11 |
children | 0fbdb4381b99 c517646eef23 |
comparison
equal
deleted
inserted
replaced
532:99c597293e35 | 533:dc3ad84615cf |
---|---|
1391 __ pop(rsi); | 1391 __ pop(rsi); |
1392 __ pop(rdi); | 1392 __ pop(rdi); |
1393 __ ret(0); | 1393 __ ret(0); |
1394 | 1394 |
1395 __ bind(miss); | 1395 __ bind(miss); |
1396 __ movptr(Address(rsp, (super_off) * VMRegImpl::stack_slot_size), 0); // result | 1396 __ movptr(Address(rsp, (super_off) * VMRegImpl::stack_slot_size), NULL_WORD); // result |
1397 __ pop(rax); | 1397 __ pop(rax); |
1398 __ pop(rcx); | 1398 __ pop(rcx); |
1399 __ pop(rsi); | 1399 __ pop(rsi); |
1400 __ pop(rdi); | 1400 __ pop(rdi); |
1401 __ ret(0); | 1401 __ ret(0); |