Index: src/parsing/parser-base.h |
diff --git a/src/parsing/parser-base.h b/src/parsing/parser-base.h |
index 4387799978b33c805c93b4318d290cdc19581401..d392a509e19d23f44998e15830d0e07d8aaac5c8 100644 |
--- a/src/parsing/parser-base.h |
+++ b/src/parsing/parser-base.h |
@@ -3454,9 +3454,7 @@ ParserBase<Impl>::ParseDynamicImportExpression(bool* ok) { |
Expect(Token::LPAREN, CHECK_OK); |
ExpressionT arg = ParseAssignmentExpression(true, CHECK_OK); |
Expect(Token::RPAREN, CHECK_OK); |
- ZoneList<ExpressionT>* args = new (zone()) ZoneList<ExpressionT>(1, zone()); |
- args->Add(arg, zone()); |
- return factory()->NewCallRuntime(Runtime::kDynamicImportCall, args, pos); |
+ return factory()->NewImportCallExpression(arg, pos); |
} |
template <typename Impl> |