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()); |
} |
} |