aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm-c
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-08-02 06:20:17 +0000
committerBill Wendling <isanbard@gmail.com>2011-08-02 06:20:17 +0000
commit16005253850679a34b09a70bca32a6c0233380d6 (patch)
treee67e2fbb862bd91fbcc5316d3abc2fe51184bc32 /include/llvm-c
parentfcb4356dee96563def584fe38eeafb3eb63c5cd8 (diff)
downloadexternal_llvm-16005253850679a34b09a70bca32a6c0233380d6.zip
external_llvm-16005253850679a34b09a70bca32a6c0233380d6.tar.gz
external_llvm-16005253850679a34b09a70bca32a6c0233380d6.tar.bz2
Remove the LLVMBuildUnwind C API function.
The 'unwind' function is going away with the new EH rewrite. This is step 0 in keeping front-ends from using it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136683 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r--include/llvm-c/Core.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index 782b7ea..0acf5a2 100644
--- a/include/llvm-c/Core.h
+++ b/include/llvm-c/Core.h
@@ -125,7 +125,7 @@ typedef enum {
LLVMSwitch = 3,
LLVMIndirectBr = 4,
LLVMInvoke = 5,
- LLVMUnwind = 6,
+ /* removed 6 due to API changes */
LLVMUnreachable = 7,
/* Standard Binary Operators */
@@ -479,7 +479,6 @@ LLVMTypeRef LLVMX86MMXType(void);
macro(ReturnInst) \
macro(SwitchInst) \
macro(UnreachableInst) \
- macro(UnwindInst) \
macro(ResumeInst) \
macro(UnaryInstruction) \
macro(AllocaInst) \
@@ -828,7 +827,6 @@ LLVMValueRef LLVMBuildInvoke(LLVMBuilderRef, LLVMValueRef Fn,
LLVMValueRef *Args, unsigned NumArgs,
LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch,
const char *Name);
-LLVMValueRef LLVMBuildUnwind(LLVMBuilderRef);
LLVMValueRef LLVMBuildResume(LLVMBuilderRef B, LLVMValueRef Exn);
LLVMValueRef LLVMBuildUnreachable(LLVMBuilderRef);