Check that all properties are processed in NameDictionary::CopyEnumKeysTo.
BUG=372579 LOG=N R=verwaest@chromium.org Review URL: https://codereview.chromium.org/306663002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21571 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
509c15c799
commit
776fcd685d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user