From 21b95cc356fbe7e01f2367874327367859eb21fc Mon Sep 17 00:00:00 2001 From: "dslomov@chromium.org" Date: Tue, 19 Aug 2014 15:42:47 +0000 Subject: [PATCH] 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 --- src/parser.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/parser.cc b/src/parser.cc index e2677b5..41667c2 100644 --- a/src/parser.cc +++ b/src/parser.cc @@ -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(), -- 2.7.4