Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(817)

Unified Diff: src/compiler/schedule.cc

Issue 664683002: [turbofan] decouple register allocation from schedule and graph (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/schedule.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « src/compiler/schedule.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698