Index: src/parsing/parser-base.h |
diff --git a/src/parsing/parser-base.h b/src/parsing/parser-base.h |
index 8d7c100001240b22c0a7b4d7825241dcee6cf28d..523882847969823c6cfa702a7dfaf51a65655c09 100644 |
--- a/src/parsing/parser-base.h |
+++ b/src/parsing/parser-base.h |
@@ -3924,7 +3924,7 @@ ParserBase<Impl>::ParseArrowFunctionLiteral( |
// TODO(marja): consider lazy-parsing inner arrow functions too. is_this |
// handling in Scope::ResolveVariable needs to change. |
bool is_lazy_top_level_function = |
- can_preparse && scope()->AllowsLazyParsingWithoutUnresolvedVariables(); |
+ can_preparse && impl()->AllowsLazyParsingWithoutUnresolvedVariables(); |
bool should_be_used_once_hint = false; |
{ |
FunctionState function_state(&function_state_, &scope_state_, |