Mercurial > hg > graal-jvmci-8
diff src/cpu/x86/vm/interpreterRT_x86_32.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 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/interpreterRT_x86_32.cpp Fri Jan 23 10:41:28 2009 -0500 +++ b/src/cpu/x86/vm/interpreterRT_x86_32.cpp Mon Jan 26 12:07:54 2009 -0800 @@ -110,7 +110,7 @@ virtual void pass_object() { // pass address of from intptr_t from_addr = (intptr_t)(_from + Interpreter::local_offset_in_bytes(0)); - *_to++ = (*(intptr_t*)from_addr == 0) ? NULL : from_addr; + *_to++ = (*(intptr_t*)from_addr == 0) ? NULL_WORD : from_addr; debug_only(verify_tag(frame::TagReference)); _from -= Interpreter::stackElementSize(); }