Index: src/assembler.cc |
diff --git a/src/assembler.cc b/src/assembler.cc |
index 86d4b11aeb5d113d5f1adce63e07f341a183de6a..9ad8bc613d232035246071ab5138cd58db416ead 100644 |
--- a/src/assembler.cc |
+++ b/src/assembler.cc |
@@ -861,8 +861,9 @@ void RelocInfo::Print(Isolate* isolate, std::ostream& os) { // NOLINT |
os << " (" << Brief(target_object()) << ")"; |
} else if (rmode_ == EXTERNAL_REFERENCE) { |
ExternalReferenceEncoder ref_encoder(isolate); |
- os << " (" << ref_encoder.NameOfAddress(target_reference()) << ") (" |
- << static_cast<const void*>(target_reference()) << ")"; |
+ os << " (" << ref_encoder.NameOfAddress(target_external_reference()) |
+ << ") (" << static_cast<const void*>(target_external_reference()) |
+ << ")"; |
} else if (IsCodeTarget(rmode_)) { |
Code* code = Code::GetCodeFromTargetAddress(target_address()); |
os << " (" << Code::Kind2String(code->kind()) << ") (" |