Changeset 185909 in webkit
- Timestamp:
- Jun 24, 2015, 7:18:16 AM (10 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r185904 r185909 1 2015-06-24 Mark Lam <mark.lam@apple.com> 2 3 Fixed assertion in JSStringJoiner::join() (regression from r185899). 4 5 Not reviewed. 6 7 JSStringJoiner did not account for the case where the array being joined can 8 have null or undefined elements. As a result, its size may be less than 9 its initially reserved capacity (which was estimated based on the array length). 10 11 * runtime/JSStringJoiner.cpp: 12 (JSC::JSStringJoiner::join): 13 1 14 2015-06-24 Darin Adler <darin@apple.com> 2 15 -
trunk/Source/JavaScriptCore/runtime/JSStringJoiner.cpp
r185899 r185909 96 96 JSValue JSStringJoiner::join(ExecState& state) 97 97 { 98 ASSERT(m_strings.size() == m_strings.capacity());98 ASSERT(m_strings.size() <= m_strings.capacity()); 99 99 100 100 unsigned length = joinedLength(state);
Note:
See TracChangeset
for help on using the changeset viewer.