Chromium Code Reviews| Index: src/parsing/parser.h |
| diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
| index d25051bf80c729487b17e280d40ebc5716aa4bc5..201f0478eaddaa554f14c56e2c8beddec8733837 100644 |
| --- a/src/parsing/parser.h |
| +++ b/src/parsing/parser.h |
| @@ -466,10 +466,11 @@ class Parser : public ParserBase<Parser> { |
| // in order to force the function to be eagerly parsed, after all. |
| LazyParsingResult SkipLazyFunctionBody(int* materialized_literal_count, |
| int* expected_property_count, |
| - bool may_abort, bool* ok); |
| + bool is_inner_function, bool may_abort, |
| + bool* ok); |
| PreParser::PreParseResult ParseLazyFunctionBodyWithPreParser( |
| - SingletonLogger* logger, bool may_abort); |
| + SingletonLogger* logger, bool is_inner_function, bool may_abort); |
| Block* BuildParameterInitializationBlock( |
| const ParserFormalParameters& parameters, bool* ok); |
| @@ -1049,6 +1050,7 @@ class Parser : public ParserBase<Parser> { |
| } |
| // Parser's private field members. |
| + friend class DiscardableZoneScope; |
|
vogelheim
2016/09/16 08:13:04
Why?
marja
2016/09/16 08:38:16
Because of reusable_preparser_
|
| Scanner scanner_; |
| PreParser* reusable_preparser_; |