Index: third_party/WebKit/JavaScriptCore/wrec/WRECGenerator.cpp |
=================================================================== |
--- third_party/WebKit/JavaScriptCore/wrec/WRECGenerator.cpp (revision 9118) |
+++ third_party/WebKit/JavaScriptCore/wrec/WRECGenerator.cpp (working copy) |
@@ -363,10 +363,10 @@ |
if (which) |
generateCharacterClassInvertedRange(failures, matchDest, ranges, which, matchIndex, matches, matchCount); |
- do { |
+ while ((*matchIndex < matchCount) && (matches[*matchIndex] < lo)) { |
matchDest.append(je32(character, Imm32((unsigned short)matches[*matchIndex]))); |
++*matchIndex; |
- } while ((*matchIndex < matchCount) && (matches[*matchIndex] < lo)); |
+ } |
failures.append(jump()); |
loOrAbove.link(this); |