Index: src/serialize.cc |
diff --git a/src/serialize.cc b/src/serialize.cc |
index ca7adcbaa1a0910f371b4918b10949ba79cd7c91..0a3e6a47cb99f77ce09bb795df0f00b4557fccb5 100644 |
--- a/src/serialize.cc |
+++ b/src/serialize.cc |
@@ -561,8 +561,8 @@ uint32_t ExternalReferenceEncoder::Encode(Address key) const { |
const char* ExternalReferenceEncoder::NameOfAddress(Address key) const { |
int index = IndexOf(key); |
- return index >= 0 ? |
- ExternalReferenceTable::instance(isolate_)->name(index) : NULL; |
+ return index >= 0 ? ExternalReferenceTable::instance(isolate_)->name(index) |
+ : "<unknown>"; |
} |