Index: src/parsing/parser-base.h |
diff --git a/src/parsing/parser-base.h b/src/parsing/parser-base.h |
index 2955b0b9d9f1b563816d3c3bd1949dfffce8a381..f9767ca6088f3a64cd7f8f7c67d1915f507ad37c 100644 |
--- a/src/parsing/parser-base.h |
+++ b/src/parsing/parser-base.h |
@@ -3060,7 +3060,7 @@ ParserBase<Traits>::ParseArrowFunctionLiteral( |
// Multiple statement body |
Consume(Token::LBRACE); |
bool is_lazily_parsed = |
- (mode() == PARSE_LAZILY && scope_->AllowsLazyCompilation()); |
+ (mode() == PARSE_LAZILY && scope_->AllowsLazyParsing()); |
if (is_lazily_parsed) { |
body = this->NewStatementList(0, zone()); |
this->SkipLazyFunctionBody(&materialized_literal_count, |