Mercurial > hg > graal-jvmci-8
diff src/cpu/x86/vm/interp_masm_x86_32.hpp @ 512:db4caa99ef11
6787106: Hotspot 32 bit build fails on platforms having different definitions for intptr_t & int32_t
Summary: Avoid casting between int32_t and intptr_t specifically for MasmAssembler::movptr in 32 bit platforms.
Reviewed-by: jrose, kvn
author | xlu |
---|---|
date | Wed, 24 Dec 2008 13:06:09 -0800 |
parents | 9ee9cf798b59 |
children | 0fbdb4381b99 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/interp_masm_x86_32.hpp Tue Dec 23 06:16:53 2008 -0800 +++ b/src/cpu/x86/vm/interp_masm_x86_32.hpp Wed Dec 24 13:06:09 2008 -0800 @@ -120,7 +120,7 @@ void empty_expression_stack() { movptr(rsp, Address(rbp, frame::interpreter_frame_monitor_block_top_offset * wordSize)); // NULL last_sp until next java call - movptr(Address(rbp, frame::interpreter_frame_last_sp_offset * wordSize), (int32_t)NULL_WORD); + movptr(Address(rbp, frame::interpreter_frame_last_sp_offset * wordSize), NULL_WORD); } // Tagged stack helpers for swap and dup