Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 19dcf1b1d86766185c28370b5a04d81388c909fd..1fee95b6b9a897615b25bcc36309a0a1206fdf6a 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -16100,6 +16100,7 @@ void NameDictionary::CopyEnumKeysTo(FixedArray* storage) { |
if (properties == length) break; |
} |
} |
+ CHECK_EQ(length, properties); |
EnumIndexComparator cmp(this); |
Smi** start = reinterpret_cast<Smi**>(storage->GetFirstElementAddress()); |
std::sort(start, start + length, cmp); |