Index: src/parsing/parser.cc |
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc |
index ad3176433d976431da1ae301a3309d65b249e35c..1c50f5aef4a178132c3a9bba9a9e66d42c078e30 100644 |
--- a/src/parsing/parser.cc |
+++ b/src/parsing/parser.cc |
@@ -773,6 +773,7 @@ Parser::Parser(ParseInfo* info) |
set_allow_legacy_const(FLAG_legacy_const); |
set_allow_harmony_do_expressions(FLAG_harmony_do_expressions); |
set_allow_harmony_function_name(FLAG_harmony_function_name); |
+ set_allow_harmony_function_sent(FLAG_harmony_function_sent); |
for (int feature = 0; feature < v8::Isolate::kUseCounterFeatureCount; |
++feature) { |
use_counts_[feature] = 0; |
@@ -4853,6 +4854,7 @@ PreParser::PreParseResult Parser::ParseLazyFunctionBodyWithPreParser( |
SET_ALLOW(strong_mode); |
SET_ALLOW(harmony_do_expressions); |
SET_ALLOW(harmony_function_name); |
+ SET_ALLOW(harmony_function_sent); |
#undef SET_ALLOW |
} |
PreParser::PreParseResult result = reusable_preparser_->PreParseLazyFunction( |