diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-08-02 06:20:17 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-08-02 06:20:17 +0000 |
commit | 16005253850679a34b09a70bca32a6c0233380d6 (patch) | |
tree | e67e2fbb862bd91fbcc5316d3abc2fe51184bc32 /include/llvm-c | |
parent | fcb4356dee96563def584fe38eeafb3eb63c5cd8 (diff) | |
download | external_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.h | 4 |
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); |