Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index 1c5435c0ee8ffc3cb3d9678c1c095a2d33cd7d43..43dcfc63f0e5c966bc77ae809ae22b887cc1e5da 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -2413,7 +2413,7 @@ CaseClause* Parser::ParseCaseClause(bool* default_seen_ptr, bool* ok) { |
statements->Add(stat, zone()); |
} |
- return new(zone()) CaseClause(isolate(), label, statements, pos); |
+ return factory()->NewCaseClause(label, statements, pos); |
} |