Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index aa3a4f4ef2ec687f278680ca553d1b80fbfd8252..4834ef2033efc6171bdfad24722d00e6fcf03c55 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -308,9 +308,9 @@ void Map::MapVerify() { |
} |
-void Map::SharedMapVerify() { |
+void Map::DictionaryMapVerify() { |
MapVerify(); |
- CHECK(is_shared()); |
+ CHECK(is_dictionary_map()); |
CHECK(instance_descriptors()->IsEmpty()); |
CHECK_EQ(0, pre_allocated_property_fields()); |
CHECK_EQ(0, unused_property_fields()); |
@@ -1012,7 +1012,7 @@ void NormalizedMapCache::NormalizedMapCacheVerify() { |
for (int i = 0; i < length(); i++) { |
Object* e = FixedArray::get(i); |
if (e->IsMap()) { |
- Map::cast(e)->SharedMapVerify(); |
+ Map::cast(e)->DictionaryMapVerify(); |
} else { |
CHECK(e->IsUndefined()); |
} |