Switch some Stmt transform/reduce logic to use IntrusivePtr

This commit is contained in:
Jon Siwek 2021-01-13 22:57:48 -08:00
parent b799665c1a
commit 177b723a60
2 changed files with 18 additions and 19 deletions

View file

@ -156,9 +156,8 @@ protected:
explicit Stmt(StmtTag arg_tag);
// Helper function called after reductions to perform canonical
// actions. Takes a bare pointer for new_me because usually
// it's been newly new'd, so this keeps down code clutter.
StmtPtr TransformMe(Stmt* new_me, Reducer* c);
// actions.
StmtPtr TransformMe(StmtPtr new_me, Reducer* c);
void AddTag(ODesc* d) const;
virtual void StmtDescribe(ODesc* d) const;