| Index: src/arm/simulator-arm.cc
|
| diff --git a/src/arm/simulator-arm.cc b/src/arm/simulator-arm.cc
|
| index 1a870c5c05ae56fc2524022a52713b15523a39c9..e47dd6f0f681c2cd9b9e44f36e17375d5a39c753 100644
|
| --- a/src/arm/simulator-arm.cc
|
| +++ b/src/arm/simulator-arm.cc
|
| @@ -1808,15 +1808,17 @@ void Simulator::SoftwareInterrupt(Instruction* instr) {
|
| case ExternalReference::BUILTIN_FP_FP_CALL:
|
| case ExternalReference::BUILTIN_COMPARE_CALL:
|
| PrintF("Call to host function at %p with args %f, %f",
|
| - FUNCTION_ADDR(generic_target), dval0, dval1);
|
| + static_cast<void*>(FUNCTION_ADDR(generic_target)), dval0,
|
| + dval1);
|
| break;
|
| case ExternalReference::BUILTIN_FP_CALL:
|
| PrintF("Call to host function at %p with arg %f",
|
| - FUNCTION_ADDR(generic_target), dval0);
|
| + static_cast<void*>(FUNCTION_ADDR(generic_target)), dval0);
|
| break;
|
| case ExternalReference::BUILTIN_FP_INT_CALL:
|
| PrintF("Call to host function at %p with args %f, %d",
|
| - FUNCTION_ADDR(generic_target), dval0, ival);
|
| + static_cast<void*>(FUNCTION_ADDR(generic_target)), dval0,
|
| + ival);
|
| break;
|
| default:
|
| UNREACHABLE();
|
| @@ -1942,7 +1944,8 @@ void Simulator::SoftwareInterrupt(Instruction* instr) {
|
| PrintF(
|
| "Call to host triple returning runtime function %p "
|
| "args %08x, %08x, %08x, %08x, %08x",
|
| - FUNCTION_ADDR(target), arg1, arg2, arg3, arg4, arg5);
|
| + static_cast<void*>(FUNCTION_ADDR(target)), arg1, arg2, arg3, arg4,
|
| + arg5);
|
| if (!stack_aligned) {
|
| PrintF(" with unaligned stack %08x\n", get_register(sp));
|
| }
|
| @@ -1953,7 +1956,8 @@ void Simulator::SoftwareInterrupt(Instruction* instr) {
|
| // pass it to the target function.
|
| ObjectTriple result = target(arg1, arg2, arg3, arg4, arg5);
|
| if (::v8::internal::FLAG_trace_sim) {
|
| - PrintF("Returned { %p, %p, %p }\n", result.x, result.y, result.z);
|
| + PrintF("Returned { %p, %p, %p }\n", static_cast<void*>(result.x),
|
| + static_cast<void*>(result.y), static_cast<void*>(result.z));
|
| }
|
| // Return is passed back in address pointed to by hidden first argument.
|
| ObjectTriple* sim_result = reinterpret_cast<ObjectTriple*>(arg0);
|
| @@ -1969,13 +1973,8 @@ void Simulator::SoftwareInterrupt(Instruction* instr) {
|
| PrintF(
|
| "Call to host function at %p "
|
| "args %08x, %08x, %08x, %08x, %08x, %08x",
|
| - FUNCTION_ADDR(target),
|
| - arg0,
|
| - arg1,
|
| - arg2,
|
| - arg3,
|
| - arg4,
|
| - arg5);
|
| + static_cast<void*>(FUNCTION_ADDR(target)), arg0, arg1, arg2, arg3,
|
| + arg4, arg5);
|
| if (!stack_aligned) {
|
| PrintF(" with unaligned stack %08x\n", get_register(sp));
|
| }
|
|
|