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

Unified Diff: src/regexp/regexp-ast.cc

Issue 1618753002: Revert of [regexp] implement character classes for unicode regexps. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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
« no previous file with comments | « src/regexp/regexp-ast.h ('k') | src/regexp/regexp-parser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/regexp/regexp-ast.cc
diff --git a/src/regexp/regexp-ast.cc b/src/regexp/regexp-ast.cc
index b5c2bb6d91d9f3b060366171a21bf645ff8a805a..31c93b114f14d0f0bb03be1b0f7ba499a616b0d0 100644
--- a/src/regexp/regexp-ast.cc
+++ b/src/regexp/regexp-ast.cc
@@ -172,9 +172,9 @@
void RegExpUnparser::VisitCharacterRange(CharacterRange that) {
- os_ << AsUC32(that.from());
+ os_ << AsUC16(that.from());
if (!that.IsSingleton()) {
- os_ << "-" << AsUC32(that.to());
+ os_ << "-" << AsUC16(that.to());
}
}
« no previous file with comments | « src/regexp/regexp-ast.h ('k') | src/regexp/regexp-parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698