Index: src/compiler/schedule.cc |
diff --git a/src/compiler/schedule.cc b/src/compiler/schedule.cc |
index 9c5800f8ed15cd7ed7e08af1d62f72fd35058277..62f625eb2169833e8025ea01cfdf9179a766b7ab 100644 |
--- a/src/compiler/schedule.cc |
+++ b/src/compiler/schedule.cc |
@@ -35,12 +35,6 @@ bool BasicBlock::LoopContains(BasicBlock* block) const { |
} |
-BasicBlock* BasicBlock::ContainingLoop() { |
- if (IsLoopHeader()) return this; |
- return loop_header(); |
-} |
- |
- |
void BasicBlock::AddSuccessor(BasicBlock* successor) { |
successors_.push_back(successor); |
} |
@@ -88,16 +82,6 @@ void BasicBlock::set_loop_header(BasicBlock* loop_header) { |
} |
-size_t BasicBlock::PredecessorIndexOf(BasicBlock* predecessor) { |
- size_t j = 0; |
- for (BasicBlock::Predecessors::iterator i = predecessors_.begin(); |
- i != predecessors_.end(); ++i, ++j) { |
- if (*i == predecessor) break; |
- } |
- return j; |
-} |
- |
- |
std::ostream& operator<<(std::ostream& os, const BasicBlock::Control& c) { |
switch (c) { |
case BasicBlock::kNone: |