Changeset 104355 in webkit
- Timestamp:
- Jan 6, 2012 4:27:48 PM (12 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r104349 r104355 1 2012-01-06 Michael Saboff <msaboff@apple.com> 2 3 JSArray::pop() should compare SparseArrayValueMap::find() to SparseArrayValueMap::notFound() 4 https://bugs.webkit.org/show_bug.cgi?id=75757 5 6 Reviewed by Gavin Barraclough. 7 8 * runtime/JSArray.cpp: 9 (JSC::JSArray::pop): Changed map->end() to map->notFound(). 10 1 11 2012-01-06 Filip Pizlo <fpizlo@apple.com> 2 12 -
trunk/Source/JavaScriptCore/runtime/JSArray.cpp
r104184 r104355 756 756 if (SparseArrayValueMap* map = storage->m_sparseValueMap) { 757 757 SparseArrayValueMap::iterator it = map->find(length); 758 if (it != map-> end()) {758 if (it != map->notFound()) { 759 759 result = it->second.get(); 760 760 map->remove(it);
Note: See TracChangeset
for help on using the changeset viewer.