Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Unified Diff: third_party/WebKit/JavaScriptCore/wrec/WRECGenerator.cpp

Issue 20076: WebKit merge 40500:40539 [WebKit side] (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « third_party/WebKit/JavaScriptCore/runtime/JSByteArray.h ('k') | third_party/WebKit/JavaScriptCore/wtf/Vector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698