Attempt to replicate AST when expanding polytypes

This commit is contained in:
2017-05-10 11:11:39 -04:00
parent 192b99f21d
commit 6a91c5d5ac
4 changed files with 199 additions and 26 deletions

4
stmt.h
View File

@@ -122,6 +122,8 @@ public:
int EstimateCost() const;
std::vector<VariableDeclaration> vars;
private:
DeclStmt(DeclStmt *base);
};
@@ -291,6 +293,8 @@ public:
std::vector<Expr *> endExprs;
bool isTiled;
Stmt *stmts;
private:
ForeachStmt(ForeachStmt *base);
};