diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-01-29 02:43:04 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-01-29 02:43:04 +0000 |
commit | b0a42fdb36b575a8ad939ca9624105908aeedf51 (patch) | |
tree | 5ea1ef8b97500d011b703e296c66a2056782b0a3 /include/llvm/Transforms/Utils/BasicBlockUtils.h | |
parent | 5e6940788fb2f8cf3ce4219d3ac0f78317f54696 (diff) | |
download | external_llvm-b0a42fdb36b575a8ad939ca9624105908aeedf51.zip external_llvm-b0a42fdb36b575a8ad939ca9624105908aeedf51.tar.gz external_llvm-b0a42fdb36b575a8ad939ca9624105908aeedf51.tar.bz2 |
Revert r124518. It broke Linux self-host.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124522 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils/BasicBlockUtils.h')
-rw-r--r-- | include/llvm/Transforms/Utils/BasicBlockUtils.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/include/llvm/Transforms/Utils/BasicBlockUtils.h b/include/llvm/Transforms/Utils/BasicBlockUtils.h index 5335860..6de8b85 100644 --- a/include/llvm/Transforms/Utils/BasicBlockUtils.h +++ b/include/llvm/Transforms/Utils/BasicBlockUtils.h @@ -22,10 +22,9 @@ namespace llvm { -class AliasAnalysis; class Instruction; class Pass; -class ReturnInst; +class AliasAnalysis; /// DeleteDeadBlock - Delete the specified block, which must have no /// predecessors. @@ -172,15 +171,7 @@ BasicBlock *SplitBlock(BasicBlock *Old, Instruction *SplitPt, Pass *P); BasicBlock *SplitBlockPredecessors(BasicBlock *BB, BasicBlock *const *Preds, unsigned NumPreds, const char *Suffix, Pass *P = 0); - -/// FoldReturnIntoUncondBranch - This method duplicates the specified return -/// instruction into a predecessor which ends in an unconditional branch. If -/// the return instruction returns a value defined by a PHI, propagate the -/// right value into the return. It returns the new return instruction in the -/// predecessor. -ReturnInst *FoldReturnIntoUncondBranch(ReturnInst *RI, BasicBlock *BB, - BasicBlock *Pred); - + } // End llvm namespace #endif |