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
This commit is contained in:
parent
e07c82baf2
commit
21b95cc356
@ -3749,6 +3749,7 @@ PreParser::PreParseResult Parser::ParseLazyFunctionBodyWithPreParser(
|
|||||||
reusable_preparser_->set_allow_arrow_functions(allow_arrow_functions());
|
reusable_preparser_->set_allow_arrow_functions(allow_arrow_functions());
|
||||||
reusable_preparser_->set_allow_harmony_numeric_literals(
|
reusable_preparser_->set_allow_harmony_numeric_literals(
|
||||||
allow_harmony_numeric_literals());
|
allow_harmony_numeric_literals());
|
||||||
|
reusable_preparser_->set_allow_classes(allow_classes());
|
||||||
}
|
}
|
||||||
PreParser::PreParseResult result =
|
PreParser::PreParseResult result =
|
||||||
reusable_preparser_->PreParseLazyFunction(strict_mode(),
|
reusable_preparser_->PreParseLazyFunction(strict_mode(),
|
||||||
|
Loading…
Reference in New Issue
Block a user