aboutsummaryrefslogtreecommitdiffstats
path: root/llvm.hpp
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2024-06-20 18:01:48 -0400
committerClyne Sullivan <clyne@bitgloo.com>2024-06-20 18:01:48 -0400
commit95901f3a5fa0ec18128030c915d1d94bade5de94 (patch)
tree53c66d5230fa398688c1a5fefcd2e266ba577db6 /llvm.hpp
parentc546646cd46e9b523c3457fa6e867951ac37daba (diff)
global env; alloca locals
kinda messy
Diffstat (limited to 'llvm.hpp')
-rw-r--r--llvm.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm.hpp b/llvm.hpp
index 0cd132f..09e2012 100644
--- a/llvm.hpp
+++ b/llvm.hpp
@@ -44,7 +44,7 @@ struct LLVMState
LLVMState();
- llvm::Value *createPush();
+ llvm::Value *createPush(llvm::Value *var);
llvm::Value *createPop();
llvm::Function *createFunction(const std::string& name);
llvm::BasicBlock *createEntry(llvm::Function *func);