Revision: 3249
Author: [email protected]
Date: Mon Nov 9 05:21:14 2009
Log: http://codereview.chromium.org/371067 thanks to Jan de Mooij
http://code.google.com/p/v8/source/detail?r=3249
Modified:
/branches/bleeding_edge/src/jsregexp.cc
=======================================
--- /branches/bleeding_edge/src/jsregexp.cc Mon Nov 9 02:01:23 2009
+++ /branches/bleeding_edge/src/jsregexp.cc Mon Nov 9 05:21:14 2009
@@ -4077,7 +4077,7 @@
int length = uncanonicalize.get(i, '\0', chars);
for (int j = 0; j < length; j++) {
uc32 chr = chars[j];
- if (chr != i && chr < bottom || chr > top) {
+ if (chr != i && (chr < bottom || chr > top)) {
characters->Add(chr);
}
}
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---