Index: src/parsing/parser.cc |
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc |
index b7761564f26abe1031a68d1f486f4843d14f61e8..0c0417e501454ee7785ed2b436affae41b907aee 100644 |
--- a/src/parsing/parser.cc |
+++ b/src/parsing/parser.cc |
@@ -5859,11 +5859,7 @@ ParserTraits::GetReportedErrorList() const { |
return parser_->function_state_->GetReportedErrorList(); |
} |
- |
-Zone* ParserTraits::zone() const { |
- return parser_->function_state_->scope()->zone(); |
-} |
- |
+Zone* ParserTraits::zone() const { return parser_->zone(); } |
class NonPatternRewriter : public AstExpressionRewriter { |
public: |