Index: src/objects-printer.cc |
diff --git a/src/objects-printer.cc b/src/objects-printer.cc |
index 75c738bb331087d74eb2717b9264c40146985df4..66776df81bd9fa99bc97890358d2cfb5bbeb842e 100644 |
--- a/src/objects-printer.cc |
+++ b/src/objects-printer.cc |
@@ -455,6 +455,12 @@ void Map::MapPrint(std::ostream& os) { // NOLINT |
} |
os << "\n - elements kind: " << ElementsKindToString(elements_kind()); |
os << "\n - unused property fields: " << unused_property_fields(); |
+ os << "\n - enum length: "; |
+ if (EnumLength() == kInvalidEnumCacheSentinel) { |
+ os << "invalid"; |
+ } else { |
+ os << EnumLength(); |
+ } |
if (is_deprecated()) os << "\n - deprecated_map"; |
if (is_stable()) os << "\n - stable_map"; |
if (is_dictionary_map()) os << "\n - dictionary_map"; |