Index: src/parsing/parser.h |
diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
index 01dba757777222d4c9ad96f3c61ae8529af39910..d19ad29996daddc79d2aebf8cae56762f29c8efb 100644 |
--- a/src/parsing/parser.h |
+++ b/src/parsing/parser.h |
@@ -478,10 +478,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); |
@@ -1063,6 +1064,7 @@ class Parser : public ParserBase<Parser> { |
} |
// Parser's private field members. |
+ friend class DiscardableZoneScope; // Uses reusable_preparser_. |
Scanner scanner_; |
PreParser* reusable_preparser_; |