Commit 21b95cc3 authored by dslomov@chromium.org's avatar dslomov@chromium.org

Pass allow_classes to reusable_preparser

R=arv@chromium.org, marja@chromium.org

Review URL: https://codereview.chromium.org/471603004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23206 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent e07c82ba
......@@ -3749,6 +3749,7 @@ PreParser::PreParseResult Parser::ParseLazyFunctionBodyWithPreParser(
reusable_preparser_->set_allow_arrow_functions(allow_arrow_functions());
reusable_preparser_->set_allow_harmony_numeric_literals(
allow_harmony_numeric_literals());
reusable_preparser_->set_allow_classes(allow_classes());
}
PreParser::PreParseResult result =
reusable_preparser_->PreParseLazyFunction(strict_mode(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment