about summary refs log tree commit diff
path: root/src/bootstrap/llvm.pry
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-07-06 22:43:29 +0200
committerBaitinq <[email protected]>2025-07-06 22:45:29 +0200
commit98e4fee2a84fea626777b151c71fcb977be1c230 (patch)
treeafd5615605d290ce81b27fa8b4ab6da5765252fb /src/bootstrap/llvm.pry
parentBoostrap: Improve codegen for function declaration (starting to work on params) (diff)
downloadpry-lang-98e4fee2a84fea626777b151c71fcb977be1c230.tar.gz
pry-lang-98e4fee2a84fea626777b151c71fcb977be1c230.tar.bz2
pry-lang-98e4fee2a84fea626777b151c71fcb977be1c230.zip
Boostrap: Codegen function definition arguments
Diffstat (limited to 'src/bootstrap/llvm.pry')
-rw-r--r--src/bootstrap/llvm.pry3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bootstrap/llvm.pry b/src/bootstrap/llvm.pry
index 67dff78..ba8aa8f 100644
--- a/src/bootstrap/llvm.pry
+++ b/src/bootstrap/llvm.pry
@@ -306,3 +306,6 @@ extern LLVMPointerType = (LLVMTypeRef, i64) => LLVMTypeRef;
 
 extern LLVMBuildCall2 = (LLVMBuilderRef, LLVMTypeRef, LLVMValueRef, *LLVMValueRef, i64, *i8) => LLVMValueRef;
 extern LLVMBuildGlobalStringPtr = (LLVMBuilderRef, *i8, *i8) => LLVMValueRef;
+extern LLVMBuildAlloca = (LLVMBuilderRef, LLVMTypeRef, *i8) => LLVMValueRef;
+extern LLVMBuildStore = (LLVMBuilderRef, LLVMValueRef, LLVMValueRef) => LLVMValueRef;
+extern LLVMBuildLoad2 = (LLVMBuilderRef, LLVMTypeRef, LLVMValueRef, *i8) => LLVMValueRef;