Index: src/parsing/parser.cc |
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc |
index 22f74807fbadfd382d89c298158638c4bbedcdbd..8128670128b5512505c3a1c21d017b57f9c059b9 100644 |
--- a/src/parsing/parser.cc |
+++ b/src/parsing/parser.cc |
@@ -4218,7 +4218,7 @@ FunctionLiteral* Parser::ParseFunctionLiteral( |
// temp_zone is deallocated. These objects are instead allocated in a |
// parser-persistent zone (see parser_zone_ in AstNodeFactory). |
{ |
- Zone temp_zone; |
+ Zone temp_zone(zone()->allocator()); |
AstNodeFactory::BodyScope inner(factory(), &temp_zone, use_temp_zone); |
body = ParseEagerFunctionBody(function_name, pos, formals, kind, |