Index: src/assembler.cc |
diff --git a/src/assembler.cc b/src/assembler.cc |
index 0d868aa641a4631d894e2b9920843ca8f7db2884..c01f63f5de6753b6fee5e0e3fdf966d191ef3afb 100644 |
--- a/src/assembler.cc |
+++ b/src/assembler.cc |
@@ -794,8 +794,8 @@ const char* RelocInfo::RelocModeName(RelocInfo::Mode rmode) { |
} |
-void RelocInfo::Print(Isolate* isolate, OStream& os) { // NOLINT |
- os << pc_ << " " << RelocModeName(rmode_); |
+void RelocInfo::Print(Isolate* isolate, std::ostream& os) { // NOLINT |
+ os << static_cast<const void*>(pc_) << " " << RelocModeName(rmode_); |
if (IsComment(rmode_)) { |
os << " (" << reinterpret_cast<char*>(data_) << ")"; |
} else if (rmode_ == EMBEDDED_OBJECT) { |