Index: src/assembler.cc |
diff --git a/src/assembler.cc b/src/assembler.cc |
index c01f63f5de6753b6fee5e0e3fdf966d191ef3afb..3fa90baf72908be397a4295d942171ae52d22f0d 100644 |
--- a/src/assembler.cc |
+++ b/src/assembler.cc |
@@ -803,11 +803,11 @@ void RelocInfo::Print(Isolate* isolate, std::ostream& os) { // NOLINT |
} else if (rmode_ == EXTERNAL_REFERENCE) { |
ExternalReferenceEncoder ref_encoder(isolate); |
os << " (" << ref_encoder.NameOfAddress(target_reference()) << ") (" |
- << target_reference() << ")"; |
+ << static_cast<const void*>(target_reference()) << ")"; |
} else if (IsCodeTarget(rmode_)) { |
Code* code = Code::GetCodeFromTargetAddress(target_address()); |
- os << " (" << Code::Kind2String(code->kind()) << ") (" << target_address() |
- << ")"; |
+ os << " (" << Code::Kind2String(code->kind()) << ") (" |
+ << static_cast<const void*>(target_address()) << ")"; |
if (rmode_ == CODE_TARGET_WITH_ID) { |
os << " (id=" << static_cast<int>(data_) << ")"; |
} |