[llvm-commits] [llvm] r82218 - /llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h
Xerxes Ranby
xerxes at zafena.se
Fri Sep 18 02:50:01 PDT 2009
Author: xranby
Date: Fri Sep 18 04:50:00 2009
New Revision: 82218
URL: http://llvm.org/viewvc/llvm-project?rev=82218&view=rev
Log:
Revert r82214 completely to fix build.
Modified:
llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h
Modified: llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h?rev=82218&r1=82217&r2=82218&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h Fri Sep 18 04:50:00 2009
@@ -149,10 +149,6 @@
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 @@
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.
More information about the llvm-commits
mailing list