Index: src/ast/ast.h |
diff --git a/src/ast/ast.h b/src/ast/ast.h |
index a2f39292f0c4e1071eb7734fc69ed78db9d991cb..d9a1f35eb5934f64d2617204c0ff553996164f9e 100644 |
--- a/src/ast/ast.h |
+++ b/src/ast/ast.h |
@@ -3404,8 +3404,8 @@ class AstNodeFactory final BASE_EMBEDDED { |
FunctionLiteral::FunctionType function_type, |
FunctionLiteral::EagerCompileHint eager_compile_hint, FunctionKind kind, |
int position) { |
- return new (parser_zone_) FunctionLiteral( |
- parser_zone_, name, ast_value_factory_, scope, body, |
+ return new (local_zone_) FunctionLiteral( |
+ local_zone_, name, ast_value_factory_, scope, body, |
materialized_literal_count, expected_property_count, parameter_count, |
function_type, has_duplicate_parameters, eager_compile_hint, kind, |
position, true); |