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

Unified Diff: vm/flow_graph_compiler.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 | « vm/flow_graph_builder.cc ('k') | vm/flow_graph_optimizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/flow_graph_compiler.cc
===================================================================
--- vm/flow_graph_compiler.cc (revision 9281)
+++ vm/flow_graph_compiler.cc (working copy)
@@ -95,14 +95,14 @@
// Compile the block entry.
set_current_block(block_order()[i]);
current_block()->PrepareEntry(this);
- Instruction* instr = current_block()->StraightLineSuccessor();
+ Instruction* instr = current_block()->successor();
// Compile all successors until an exit, branch, or a block entry.
while ((instr != NULL) && !instr->IsBlockEntry()) {
if (FLAG_code_comments) EmitComment(instr);
ASSERT(instr->locs() != NULL);
EmitInstructionPrologue(instr);
instr->EmitNativeCode(this);
- instr = instr->StraightLineSuccessor();
+ instr = instr->successor();
}
BlockEntryInstr* successor =
(instr == NULL) ? NULL : instr->AsBlockEntry();
« no previous file with comments | « vm/flow_graph_builder.cc ('k') | vm/flow_graph_optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698