Index: src/arm64/simulator-arm64.cc |
diff --git a/src/arm64/simulator-arm64.cc b/src/arm64/simulator-arm64.cc |
index 898072e4bc8a4f0be23019368579bb910f2c1349..ac76692a4e1614f0137aebb534aa829e2193e4db 100644 |
--- a/src/arm64/simulator-arm64.cc |
+++ b/src/arm64/simulator-arm64.cc |
@@ -609,7 +609,8 @@ void Simulator::DoRuntimeCall(Instruction* instr) { |
xreg(4), xreg(5), xreg(6), xreg(7)); |
ObjectPair result = target(xreg(0), xreg(1), xreg(2), xreg(3), |
xreg(4), xreg(5), xreg(6), xreg(7)); |
- TraceSim("Returned: {%p, %p}\n", result.x, result.y); |
+ TraceSim("Returned: {%p, %p}\n", static_cast<void*>(result.x), |
+ static_cast<void*>(result.y)); |
#ifdef DEBUG |
CorruptAllCallerSavedCPURegisters(); |
#endif |
@@ -639,7 +640,8 @@ void Simulator::DoRuntimeCall(Instruction* instr) { |
ObjectTriple* sim_result = reinterpret_cast<ObjectTriple*>(xreg(8)); |
ObjectTriple result = target(xreg(0), xreg(1), xreg(2), xreg(3), xreg(4), |
xreg(5), xreg(6), xreg(7)); |
- TraceSim("Returned: {%p, %p, %p}\n", result.x, result.y, result.z); |
+ TraceSim("Returned: {%p, %p, %p}\n", static_cast<void*>(result.x), |
+ static_cast<void*>(result.y), static_cast<void*>(result.z)); |
#ifdef DEBUG |
CorruptAllCallerSavedCPURegisters(); |
#endif |