diff options
Diffstat (limited to 'ast.hpp')
-rw-r--r-- | ast.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -66,10 +66,12 @@ struct CallAST : public BaseAST struct ThunkAST : public BaseAST { static int tcount; + static int envidx; - std::list<std::unique_ptr<BaseAST>> body; llvm::IRBuilderBase::InsertPoint parent; llvm::Function *func; + llvm::BasicBlock *entry, *body; + llvm::Value *env; explicit ThunkAST(LLVMState& llvmState); explicit ThunkAST(LLVMState& llvmState, std::string n); |