aboutsummaryrefslogtreecommitdiffstats
path: root/ast.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ast.hpp')
-rw-r--r--ast.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ast.hpp b/ast.hpp
index 380a38f..287fd03 100644
--- a/ast.hpp
+++ b/ast.hpp
@@ -66,13 +66,13 @@ struct CallAST : public BaseAST
struct ThunkAST : public BaseAST
{
static int tcount;
- static int envidx;
std::list<std::unique_ptr<BaseAST>> ast;
llvm::IRBuilderBase::InsertPoint parent;
llvm::Function *func;
llvm::BasicBlock *entry, *body;
llvm::Value *env;
+ llvm::Value *lastSp;
explicit ThunkAST();
llvm::Value *codegen(LLVMState& llvmState) const override;