Changeset 70764 in webkit
- Timestamp:
- Oct 28, 2010 4:17:18 AM (14 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r70752 r70764 1 2010-10-28 Peter Varga <pvarga@inf.u-szeged.hu> 2 3 Reviewed by Csaba Osztrogonác. 4 5 resetAssertionMatches() is an unused function in YARR Interpreter 6 https://bugs.webkit.org/show_bug.cgi?id=48503 7 8 The resetAssertionMatches() function is removed from YARR Interpreter 9 because it's never called. 10 11 * yarr/RegexInterpreter.cpp: 12 (JSC::Yarr::Interpreter::resetMatches): 13 1 14 2010-10-28 Zoltan Herczeg <zherczeg@webkit.org> 2 15 -
trunk/JavaScriptCore/yarr/RegexInterpreter.cpp
r69847 r70764 591 591 unsigned count = term.atom.parenthesesDisjunction->m_numSubpatterns; 592 592 context->restoreOutput(output, firstSubpatternId, count); 593 }594 void resetAssertionMatches(ByteTerm& term)595 {596 unsigned firstSubpatternId = term.atom.subpatternId;597 unsigned count = term.atom.parenthesesDisjunction->m_numSubpatterns;598 for (unsigned i = 0; i < (count << 1); ++i)599 output[(firstSubpatternId << 1) + i] = -1;600 593 } 601 594 bool parenthesesDoBacktrack(ByteTerm& term, BackTrackInfoParentheses* backTrack)
Note: See TracChangeset
for help on using the changeset viewer.