aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXerxes Ranby <xerxes@zafena.se>2009-09-18 09:50:00 +0000
committerXerxes Ranby <xerxes@zafena.se>2009-09-18 09:50:00 +0000
commite2394e9bfecb6532ea0f8171c4fb6039e11843b6 (patch)
treeb9a8298f3389416001ec70de564d1a9291bac78f
parent8be58a11868ae081c195c107cd39a07f1f523877 (diff)
downloadexternal_llvm-e2394e9bfecb6532ea0f8171c4fb6039e11843b6.zip
external_llvm-e2394e9bfecb6532ea0f8171c4fb6039e11843b6.tar.gz
external_llvm-e2394e9bfecb6532ea0f8171c4fb6039e11843b6.tar.bz2
Revert r82214 completely to fix build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82218 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/MachineBasicBlock.h7
1 files changed, 0 insertions, 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.