Index: src/parsing/parser-base.h |
diff --git a/src/parsing/parser-base.h b/src/parsing/parser-base.h |
index bd9ef707b6c694b15c6561dcb63b91554e7822e7..e4947f208a2fa631dae8d5202ebd722ad8486d86 100644 |
--- a/src/parsing/parser-base.h |
+++ b/src/parsing/parser-base.h |
@@ -3027,7 +3027,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, |