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

Unified Diff: src/interpreter-irregexp.cc

Issue 27324: Small fixes to allow all-in-one compilation.
Patch Set: Created 11 years, 10 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
« no previous file with comments | « src/globals.h ('k') | src/runtime.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interpreter-irregexp.cc
diff --git a/src/interpreter-irregexp.cc b/src/interpreter-irregexp.cc
index d6ab18fe3393f8619c23bf33eb8e52c48ad212c9..33f6ec6137acb7f1cc7467387ad46a641503ffbb 100644
--- a/src/interpreter-irregexp.cc
+++ b/src/interpreter-irregexp.cc
@@ -39,7 +39,7 @@
namespace v8 { namespace internal {
-static unibrow::Mapping<unibrow::Ecma262Canonicalize> canonicalize;
+static unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize;
static bool BackRefMatchesNoCase(int from,
@@ -50,8 +50,8 @@ static bool BackRefMatchesNoCase(int from,
unibrow::uchar old_char = subject[from++];
unibrow::uchar new_char = subject[current++];
if (old_char == new_char) continue;
- canonicalize.get(old_char, '\0', &old_char);
- canonicalize.get(new_char, '\0', &new_char);
+ interp_canonicalize.get(old_char, '\0', &old_char);
+ interp_canonicalize.get(new_char, '\0', &new_char);
if (old_char != new_char) {
return false;
}
« no previous file with comments | « src/globals.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698