Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index 3085ef86be2a13c4ea0fd9c48e80b1a1f52ddc47..949ff769ad686485e6f86239ddc88c9d43bb7b89 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -2868,7 +2868,7 @@ Expression* Parser::ParseMemberWithNewPrefixesExpression(PositionStack* stack, |
// Consume one of the new prefixes (already parsed). |
ZoneList<Expression*>* args = ParseArguments(CHECK_OK); |
int last = stack->pop(); |
- result = new CallNew(result, args, last); |
+ result = new(zone()) CallNew(result, args, last); |
break; |
} |
default: |