Changeset 36435 in webkit for trunk/JavaScriptCore
- Timestamp:
- Sep 15, 2008, 3:02:56 AM (17 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r36434 r36435 1 2008-09-15 Maciej Stachowiak <[email protected]> 2 3 Reviewed by Cameron Zwarich. 4 5 - fix JSC test failures introduced by fix for 20849 6 7 * kjs/PropertyMap.cpp: 8 (JSC::PropertyMap::getEnumerablePropertyNames): Use the correct count. 9 1 10 2008-09-15 Cameron Zwarich <[email protected]> 2 11 -
trunk/JavaScriptCore/kjs/PropertyMap.cpp
r36429 r36435 509 509 } 510 510 511 size_t enumerableCount = p - sortedEnumerables.data(); 511 512 // Sort the entries by index. 512 qsort(sortedEnumerables.data(), p - sortedEnumerables.data(), sizeof(Entry*), comparePropertyMapEntryIndices); 513 qsort(sortedEnumerables.data(), enumerableCount, sizeof(Entry*), comparePropertyMapEntryIndices); 514 sortedEnumerables.resize(enumerableCount); 513 515 514 516 // Put the keys of the sorted entries into the list.
Note:
See TracChangeset
for help on using the changeset viewer.