aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineBasicBlock.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-03-31 08:26:26 +0000
committerBill Wendling <isanbard@gmail.com>2009-03-31 08:26:26 +0000
commit8fe00540fc6e1531d909d0688cc75a77b7dfa330 (patch)
tree56d4020e70d6a8011baf1a2efd0733143ed5753b /include/llvm/CodeGen/MachineBasicBlock.h
parentc4ef55119285fa2f966ee6578a58371c3c368774 (diff)
Revert r68073. It's causing a failure in the Apple-style builds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68092 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineBasicBlock.h')
-rw-r--r--include/llvm/CodeGen/MachineBasicBlock.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/llvm/CodeGen/MachineBasicBlock.h b/include/llvm/CodeGen/MachineBasicBlock.h
index f962273d2b..1ba7e798f8 100644
--- a/include/llvm/CodeGen/MachineBasicBlock.h
+++ b/include/llvm/CodeGen/MachineBasicBlock.h
@@ -253,15 +253,6 @@ public:
/// it returns end()
iterator getFirstTerminator();
- /// isOnlyReachableViaFallthough - Return true if this basic block has
- /// exactly one predecessor and the control transfer mechanism between
- /// the predecessor and this block is a fall-through.
- bool isOnlyReachableByFallthrough() const {
- return !pred_empty() &&
- next(pred_begin()) == pred_end() &&
- (*pred_begin())->getFirstTerminator() == (*pred_begin())->end();
- }
-
void pop_front() { Insts.pop_front(); }
void pop_back() { Insts.pop_back(); }
void push_back(MachineInstr *MI) { Insts.push_back(MI); }