Index: src/s390/simulator-s390.cc |
diff --git a/src/s390/simulator-s390.cc b/src/s390/simulator-s390.cc |
index c57ee3269cc659bd380eae242aaedb45af831edd..9facc18e1a25b67d21b0e0b5e9e3c5319abf1eb3 100644 |
--- a/src/s390/simulator-s390.cc |
+++ b/src/s390/simulator-s390.cc |
@@ -2028,15 +2028,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, %" V8PRIdPTR, |
- FUNCTION_ADDR(generic_target), dval0, ival); |
+ static_cast<void*>(FUNCTION_ADDR(generic_target)), dval0, |
+ ival); |
break; |
default: |
UNREACHABLE(); |
@@ -2178,8 +2180,8 @@ void Simulator::SoftwareInterrupt(Instruction* instr) { |
"Call to host function at %p,\n" |
"\t\t\t\targs %08" V8PRIxPTR ", %08" V8PRIxPTR ", %08" V8PRIxPTR |
", %08" V8PRIxPTR ", %08" V8PRIxPTR ", %08" V8PRIxPTR, |
- FUNCTION_ADDR(target), arg[0], arg[1], arg[2], arg[3], arg[4], |
- arg[5]); |
+ static_cast<void*>(FUNCTION_ADDR(target)), arg[0], arg[1], arg[2], |
+ arg[3], arg[4], arg[5]); |
if (!stack_aligned) { |
PrintF(" with unaligned stack %08" V8PRIxPTR "\n", |
static_cast<intptr_t>(get_register(sp))); |