diff options
author | Chris Lattner <sabre@nondot.org> | 2010-12-14 06:51:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-12-14 06:51:55 +0000 |
commit | 2112bbc42d1de50e482f64e1fb0f10de9817fcf8 (patch) | |
tree | 40f1b72dd8cc5429ab61f3d7b4d818a4a855f958 /include/llvm/Transforms/Utils/BasicBlockUtils.h | |
parent | 302ba6fc1cb26248b0d6524fc42c740370926d6d (diff) | |
download | external_llvm-2112bbc42d1de50e482f64e1fb0f10de9817fcf8.zip external_llvm-2112bbc42d1de50e482f64e1fb0f10de9817fcf8.tar.gz external_llvm-2112bbc42d1de50e482f64e1fb0f10de9817fcf8.tar.bz2 |
remove the dead (and terrible) llvm::RemoveSuccessor function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121753 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils/BasicBlockUtils.h')
-rw-r--r-- | include/llvm/Transforms/Utils/BasicBlockUtils.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/llvm/Transforms/Utils/BasicBlockUtils.h b/include/llvm/Transforms/Utils/BasicBlockUtils.h index 0f54450..2e8c335 100644 --- a/include/llvm/Transforms/Utils/BasicBlockUtils.h +++ b/include/llvm/Transforms/Utils/BasicBlockUtils.h @@ -75,15 +75,6 @@ void FindFunctionBackedges(const Function &F, SmallVectorImpl<std::pair<const BasicBlock*,const BasicBlock*> > &Result); -// RemoveSuccessor - Change the specified terminator instruction such that its -// successor #SuccNum no longer exists. Because this reduces the outgoing -// degree of the current basic block, the actual terminator instruction itself -// may have to be changed. In the case where the last successor of the block is -// deleted, a return instruction is inserted in its place which can cause a -// suprising change in program behavior if it is not expected. -// -void RemoveSuccessor(TerminatorInst *TI, unsigned SuccNum); - /// GetSuccessorNumber - Search for the specified successor of basic block BB /// and return its position in the terminator instruction's list of /// successors. It is an error to call this with a block that is not a |