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

Unified Diff: vm/flow_graph_allocator.cc

Issue 10665022: Make IL instructions a doubly-linked list within basic blocks. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 6 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 | « no previous file | vm/flow_graph_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/flow_graph_allocator.cc
===================================================================
--- vm/flow_graph_allocator.cc (revision 9281)
+++ vm/flow_graph_allocator.cc (working copy)
@@ -66,7 +66,7 @@
}
}
- Instruction* current = block->StraightLineSuccessor();
+ Instruction* current = block->successor();
// TODO(vegorov): iterate backwards.
while ((current != NULL) && !current->IsBlockEntry()) {
for (intptr_t j = 0; j < current->InputCount(); j++) {
@@ -79,7 +79,7 @@
const intptr_t def = ToVirtualRegister(current);
if (def >= 0) kill->Add(def);
- current = current->StraightLineSuccessor();
+ current = current->successor();
}
}
« no previous file with comments | « no previous file | vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698