Index: src/disassembler.cc |
diff --git a/src/disassembler.cc b/src/disassembler.cc |
index 36638f551641a8d487f9b6914d6459082b0ebe90..37e0c83f80f7561de32658e22eb25dbd7823ae94 100644 |
--- a/src/disassembler.cc |
+++ b/src/disassembler.cc |
@@ -186,7 +186,7 @@ static int DecodeIt(Isolate* isolate, std::ostream* os, |
out.AddFormatted(" ;; object: %s", obj_name.get()); |
} else if (rmode == RelocInfo::EXTERNAL_REFERENCE) { |
const char* reference_name = |
- ref_encoder.NameOfAddress(relocinfo.target_reference()); |
+ ref_encoder.NameOfAddress(relocinfo.target_external_reference()); |
out.AddFormatted(" ;; external reference (%s)", reference_name); |
} else if (RelocInfo::IsCodeTarget(rmode)) { |
out.AddFormatted(" ;; code:"); |