Changeset 42800 in webkit for trunk/JavaScriptCore/yarr/RegexInterpreter.cpp
- Timestamp:
- Apr 23, 2009, 5:32:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/yarr/RegexInterpreter.cpp
r42481 r42800 777 777 { 778 778 ASSERT(term.type == ByteTerm::TypeParenthesesSubpattern); 779 ASSERT(term.atom.quantityCount > 1);780 779 781 780 BackTrackInfoParentheses* backTrack = reinterpret_cast<BackTrackInfoParentheses*>(context->frame + term.frameLocation); … … 853 852 { 854 853 ASSERT(term.type == ByteTerm::TypeParenthesesSubpattern); 855 ASSERT(term.atom.quantityCount > 1);856 854 857 855 BackTrackInfoParentheses* backTrack = reinterpret_cast<BackTrackInfoParentheses*>(context->frame + term.frameLocation); … … 1438 1436 case PatternTerm::TypeParenthesesSubpattern: { 1439 1437 unsigned disjunctionAlreadyCheckedCount = 0; 1440 if ( term.quantityCount == 1) {1438 if ((term.quantityCount == 1) && !term.parentheses.isCopy) { 1441 1439 if (term.quantityType == QuantifierFixedCount) { 1442 1440 disjunctionAlreadyCheckedCount = term.parentheses.disjunction->m_minimumSize;
Note:
See TracChangeset
for help on using the changeset viewer.