From e2394e9bfecb6532ea0f8171c4fb6039e11843b6 Mon Sep 17 00:00:00 2001 From: Xerxes Ranby Date: Fri, 18 Sep 2009 09:50:00 +0000 Subject: Revert r82214 completely to fix build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82218 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/MachineBasicBlock.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/llvm/CodeGen/MachineBasicBlock.h b/include/llvm/CodeGen/MachineBasicBlock.h index 2bfb1ba..2a9e86a 100644 --- a/include/llvm/CodeGen/MachineBasicBlock.h +++ b/include/llvm/CodeGen/MachineBasicBlock.h @@ -149,10 +149,6 @@ public: return (unsigned)Predecessors.size(); } bool pred_empty() const { return Predecessors.empty(); } - bool isPred(MachineBasicBlock *MBB) const { - return std::find(pred_begin(), pred_end(), MBB) != pred_end(); - } - succ_iterator succ_begin() { return Successors.begin(); } const_succ_iterator succ_begin() const { return Successors.begin(); } succ_iterator succ_end() { return Successors.end(); } @@ -169,9 +165,6 @@ public: return (unsigned)Successors.size(); } bool succ_empty() const { return Successors.empty(); } - bool isSucc(MachineBasicBlock *MBB) const { - return std::find(succ_begin(), succ_end(), MBB) != succ_end(); - } // LiveIn management methods. -- cgit v1.1