Switch InlineExpr from using IDPList* to vector<IDPtr>

This commit is contained in:
Jon Siwek 2020-12-13 15:04:53 -08:00
parent a0552f9771
commit c7bec09e14
3 changed files with 13 additions and 12 deletions

View file

@ -1135,7 +1135,7 @@ private:
class InlineExpr : public Expr {
public:
InlineExpr(ListExprPtr arg_args, IDPList* params, StmtPtr body,
InlineExpr(ListExprPtr arg_args, std::vector<IDPtr> params, StmtPtr body,
int frame_offset, TypePtr ret_type);
bool IsPure() const override;
@ -1152,7 +1152,7 @@ public:
protected:
void ExprDescribe(ODesc* d) const override;
IDPList* params;
std::vector<IDPtr> params;
int frame_offset;
ListExprPtr args;
StmtPtr body;