Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index 22c0f5c142c918cc45043fc1b11efb6f4a46488d..b6fba5e8b5b538ec3181dabead0692d9dc3d27c4 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -805,6 +805,7 @@ Parser::Parser(CompilationInfo* info, ParseInfo* parse_info) |
set_allow_harmony_object_literals(FLAG_harmony_object_literals); |
set_allow_harmony_templates(FLAG_harmony_templates); |
set_allow_harmony_sloppy(FLAG_harmony_sloppy); |
+ set_allow_harmony_unicode(FLAG_harmony_unicode); |
for (int feature = 0; feature < v8::Isolate::kUseCounterFeatureCount; |
++feature) { |
use_counts_[feature] = 0; |
@@ -3982,6 +3983,7 @@ PreParser::PreParseResult Parser::ParseLazyFunctionBodyWithPreParser( |
allow_harmony_object_literals()); |
reusable_preparser_->set_allow_harmony_templates(allow_harmony_templates()); |
reusable_preparser_->set_allow_harmony_sloppy(allow_harmony_sloppy()); |
+ reusable_preparser_->set_allow_harmony_unicode(allow_harmony_unicode()); |
} |
PreParser::PreParseResult result = |
reusable_preparser_->PreParseLazyFunction(strict_mode(), |