Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index 0301e40851d5c4da1f09b77ed0728517762fe997..0de4d8af238d107e2678efe35035a93c934637e0 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -810,6 +810,7 @@ Parser::Parser(CompilationInfo* info, ParseInfo* parse_info) |
set_allow_harmony_numeric_literals(FLAG_harmony_numeric_literals); |
set_allow_classes(FLAG_harmony_classes); |
set_allow_harmony_object_literals(FLAG_harmony_object_literals); |
+ set_allow_harmony_unicode(FLAG_harmony_unicode); |
for (int feature = 0; feature < v8::Isolate::kUseCounterFeatureCount; |
++feature) { |
use_counts_[feature] = 0; |
@@ -3899,6 +3900,7 @@ PreParser::PreParseResult Parser::ParseLazyFunctionBodyWithPreParser( |
reusable_preparser_->set_allow_classes(allow_classes()); |
reusable_preparser_->set_allow_harmony_object_literals( |
allow_harmony_object_literals()); |
+ reusable_preparser_->set_allow_harmony_unicode(allow_harmony_unicode()); |
} |
PreParser::PreParseResult result = |
reusable_preparser_->PreParseLazyFunction(strict_mode(), |