diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-08-15 03:49:51 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-08-15 03:49:51 +0000 |
commit | ed3b6d1bb22786fbda1a2fadfb8bb20da7b887b6 (patch) | |
tree | e373532b052be1ddd68d885adb9ed53fffe2b547 /llvm/include/llvm-c | |
parent | d65f37dbcc106bdfc37700b50f006337f2196a87 (diff) | |
download | bcm5719-llvm-ed3b6d1bb22786fbda1a2fadfb8bb20da7b887b6.tar.gz bcm5719-llvm-ed3b6d1bb22786fbda1a2fadfb8bb20da7b887b6.zip |
Revert "Expose TailCallKind via the LLVM C API"
This is failing on several build bots. Reverting as discussed in
https://reviews.llvm.org/D66061.
llvm-svn: 368953
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r-- | llvm/include/llvm-c/Core.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h index 00d151c4541..cac2f297056 100644 --- a/llvm/include/llvm-c/Core.h +++ b/llvm/include/llvm-c/Core.h @@ -452,13 +452,6 @@ enum { typedef unsigned LLVMAttributeIndex; -typedef enum { - LLVMTailCallKindNone, - LLVMTailCallKindTail, - LLVMTailCallKindMustTail, - LLVMTailCallKindNoTail -} LLVMTailCallKind; - /** * @} */ @@ -3271,24 +3264,6 @@ LLVMBool LLVMIsTailCall(LLVMValueRef CallInst); void LLVMSetTailCall(LLVMValueRef CallInst, LLVMBool IsTailCall); /** - * Obtains the kind of tail call for a call instruction. - * - * This only works on llvm::CallInst instructions. - * - * @see llvm::CallInst::getTailCallKind() - */ -LLVMTailCallKind LLVMGetTailCallKind(LLVMValueRef CallInst); - -/** - * Set the kind of tail call for a call instruction. - * - * This only works on llvm::CallInst instructions. - * - * @see llvm::CallInst::setTailCallKind() - */ -void LLVMSetTailCallKind(LLVMValueRef CallInst, LLVMTailCallKind TCK); - -/** * Return the normal destination basic block. * * This only works on llvm::InvokeInst instructions. |