Mercurial > hg > graal-jvmci-8
comparison src/cpu/x86/vm/interp_masm_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 afa80fa86d22 56aae7be60d4 |
comparison
equal
deleted
inserted
replaced
532:99c597293e35 | 533:dc3ad84615cf |
---|---|
147 default : ShouldNotReachHere(); | 147 default : ShouldNotReachHere(); |
148 } | 148 } |
149 // Clean up tos value in the thread object | 149 // Clean up tos value in the thread object |
150 movl(tos_addr, (int32_t) ilgl); | 150 movl(tos_addr, (int32_t) ilgl); |
151 movptr(val_addr, NULL_WORD); | 151 movptr(val_addr, NULL_WORD); |
152 NOT_LP64(movl(val_addr1, (int32_t)NULL_WORD)); | 152 NOT_LP64(movptr(val_addr1, NULL_WORD)); |
153 } | 153 } |
154 | 154 |
155 | 155 |
156 void InterpreterMacroAssembler::check_and_handle_earlyret(Register java_thread) { | 156 void InterpreterMacroAssembler::check_and_handle_earlyret(Register java_thread) { |
157 if (JvmtiExport::can_force_early_return()) { | 157 if (JvmtiExport::can_force_early_return()) { |