Changeset 79594 in webkit for trunk/Source/JavaScriptCore/yarr/YarrPattern.cpp
- Timestamp:
- Feb 24, 2011, 11:25:27 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/yarr/YarrPattern.cpp
r76502 r79594 496 496 for (unsigned i = 0; i < numParenAlternatives; i++) { 497 497 if (!parenthesesDisjunction->m_alternatives[i]->m_terms.size() && numParenAlternatives > 1) { 498 PatternAlternative* altToRemove = parenthesesDisjunction->m_alternatives[i]; 498 499 parenthesesDisjunction->m_alternatives.remove(i); 500 delete altToRemove; 499 501 --numParenAlternatives; 500 502
Note:
See TracChangeset
for help on using the changeset viewer.