Index: src/compiler/instruction.cc |
diff --git a/src/compiler/instruction.cc b/src/compiler/instruction.cc |
index 3c40ae555eff5dd3b0e36f297ba4419d4900227e..280dd6e7df8e5d5838d4ebb4de31fd3b31af25de 100644 |
--- a/src/compiler/instruction.cc |
+++ b/src/compiler/instruction.cc |
@@ -306,7 +306,8 @@ std::ostream& operator<<(std::ostream& os, const Constant& constant) { |
case Constant::kFloat64: |
return os << constant.ToFloat64(); |
case Constant::kExternalReference: |
- return os << constant.ToExternalReference().address(); |
+ return os << static_cast<const void*>( |
+ constant.ToExternalReference().address()); |
case Constant::kHeapObject: |
return os << Brief(*constant.ToHeapObject()); |
} |