diff options
author | Devang Patel <dpatel@apple.com> | 2011-10-03 20:59:18 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-10-03 20:59:18 +0000 |
commit | 0e6a24d92ab4661bb39f838ac390ccb17f649cb5 (patch) | |
tree | ac7a70b2b813058cb97889ac22b6d082cd4736b5 /include/llvm-c | |
parent | f8bf43ec99d4410c3e351c76f806208d1204129e (diff) | |
download | external_llvm-0e6a24d92ab4661bb39f838ac390ccb17f649cb5.zip external_llvm-0e6a24d92ab4661bb39f838ac390ccb17f649cb5.tar.gz external_llvm-0e6a24d92ab4661bb39f838ac390ccb17f649cb5.tar.bz2 |
Add C api for Instruction->eraseFromParent().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141023 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r-- | include/llvm-c/Core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h index baea5ab..84ddfbc 100644 --- a/include/llvm-c/Core.h +++ b/include/llvm-c/Core.h @@ -776,6 +776,7 @@ LLVMValueRef LLVMGetLastInstruction(LLVMBasicBlockRef BB); LLVMBasicBlockRef LLVMGetInstructionParent(LLVMValueRef Inst); LLVMValueRef LLVMGetNextInstruction(LLVMValueRef Inst); LLVMValueRef LLVMGetPreviousInstruction(LLVMValueRef Inst); +void LLVMInstructionEraseFromParent(LLVMValueRef Inst); /* Operations on call sites */ void LLVMSetInstructionCallConv(LLVMValueRef Instr, unsigned CC); |