aboutsummaryrefslogtreecommitdiff
path: root/src/zig_llvm.hpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2015-12-03 00:47:35 -0700
committerAndrew Kelley <superjoe30@gmail.com>2015-12-03 00:47:35 -0700
commitf8ca6c70c74db6e6f0d4462aa763adb6f1f41c7e (patch)
tree99bc3d06bb37abb267a2a59f3ba04523c2c430eb /src/zig_llvm.hpp
parentc89f77dd8e5005e60e8fb223c6c68b50566ac1ed (diff)
downloadzig-f8ca6c70c74db6e6f0d4462aa763adb6f1f41c7e.tar.gz
zig-f8ca6c70c74db6e6f0d4462aa763adb6f1f41c7e.zip
add labels and goto
Diffstat (limited to 'src/zig_llvm.hpp')
-rw-r--r--src/zig_llvm.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/zig_llvm.hpp b/src/zig_llvm.hpp
index 4350624310..71bff360e8 100644
--- a/src/zig_llvm.hpp
+++ b/src/zig_llvm.hpp
@@ -22,6 +22,7 @@ struct LLVMZigDIFile;
struct LLVMZigDILexicalBlock;
struct LLVMZigDISubprogram;
struct LLVMZigDISubroutineType;
+struct LLVMZigInsertionPoint;
void LLVMZigInitializeLoopStrengthReducePass(LLVMPassRegistryRef R);
void LLVMZigInitializeLowerIntrinsicsPass(LLVMPassRegistryRef R);
@@ -75,6 +76,9 @@ LLVMZigDISubprogram *LLVMZigCreateFunction(LLVMZigDIBuilder *dibuilder, LLVMZigD
void LLVMZigDIBuilderFinalize(LLVMZigDIBuilder *dibuilder);
+LLVMZigInsertionPoint *LLVMZigSaveInsertPoint(LLVMBuilderRef builder);
+void LLVMZigRestoreInsertPoint(LLVMBuilderRef builder, LLVMZigInsertionPoint *point);
+
/*
* This stuff is not LLVM API but it depends on the LLVM C++ API so we put it here.