From b0a42fdb36b575a8ad939ca9624105908aeedf51 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Sat, 29 Jan 2011 02:43:04 +0000 Subject: Revert r124518. It broke Linux self-host. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124522 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/Utils/BasicBlockUtils.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'include/llvm/Transforms/Utils/BasicBlockUtils.h') diff --git a/include/llvm/Transforms/Utils/BasicBlockUtils.h b/include/llvm/Transforms/Utils/BasicBlockUtils.h index 5335860287..6de8b85070 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 -- cgit v1.2.3