comparison src/cpu/x86/vm/templateInterpreter_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 56aae7be60d4
comparison
equal deleted inserted replaced
532:99c597293e35 533:dc3ad84615cf
380 380
381 // InterpreterRuntime::frequency_counter_overflow takes one argument 381 // InterpreterRuntime::frequency_counter_overflow takes one argument
382 // indicating if the counter overflow occurs at a backwards branch (non-NULL bcp). 382 // indicating if the counter overflow occurs at a backwards branch (non-NULL bcp).
383 // The call returns the address of the verified entry point for the method or NULL 383 // The call returns the address of the verified entry point for the method or NULL
384 // if the compilation did not complete (either went background or bailed out). 384 // if the compilation did not complete (either went background or bailed out).
385 __ movptr(rax, (int32_t)false); 385 __ movptr(rax, (intptr_t)false);
386 __ call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::frequency_counter_overflow), rax); 386 __ call_VM(noreg, CAST_FROM_FN_PTR(address, InterpreterRuntime::frequency_counter_overflow), rax);
387 387
388 __ movptr(rbx, Address(rbp, method_offset)); // restore methodOop 388 __ movptr(rbx, Address(rbp, method_offset)); // restore methodOop
389 389
390 // Preserve invariant that rsi/rdi contain bcp/locals of sender frame 390 // Preserve invariant that rsi/rdi contain bcp/locals of sender frame