Changeset 67894 in webkit for trunk/JavaScriptCore/yarr/RegexJIT.cpp
- Timestamp:
- Sep 20, 2010, 5:04:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/yarr/RegexJIT.cpp
r67867 r67894 1239 1239 1240 1240 while (state.alternativeValid()) { 1241 // Track whether any alternatives are shorter than the first one.1242 hasShorterAlternatives = hasShorterAlternatives || (countCheckedForCurrentAlternative < countToCheckForFirstAlternative);1243 1244 1241 PatternAlternative* alternative = state.alternative(); 1245 1242 optimizeAlternative(alternative); 1246 1243 1244 // Track whether any alternatives are shorter than the first one. 1245 if (!alternative->onceThrough()) 1246 hasShorterAlternatives = hasShorterAlternatives || (countCheckedForCurrentAlternative < countToCheckForFirstAlternative); 1247 1247 1248 for (state.resetTerm(); state.termValid(); state.nextTerm()) 1248 1249 generateTerm(state);
Note:
See TracChangeset
for help on using the changeset viewer.