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

Unified Diff: runtime/vm/flow_graph_compiler.cc

Issue 10693122: Rename the successor field of instruction to next. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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
Index: runtime/vm/flow_graph_compiler.cc
diff --git a/runtime/vm/flow_graph_compiler.cc b/runtime/vm/flow_graph_compiler.cc
index febaccc0a92dbd62cfe9488d2e0812db05b8d5a1..329204c6f984e1b1f8cdaf5cc49e370d5c54bb5d 100644
--- a/runtime/vm/flow_graph_compiler.cc
+++ b/runtime/vm/flow_graph_compiler.cc
@@ -95,14 +95,14 @@ void FlowGraphCompiler::VisitBlocks() {
// Compile the block entry.
set_current_block(block_order()[i]);
current_block()->PrepareEntry(this);
- Instruction* instr = current_block()->successor();
+ Instruction* instr = current_block()->next();
// 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->successor();
+ instr = instr->next();
}
BlockEntryInstr* successor =
(instr == NULL) ? NULL : instr->AsBlockEntry();

Powered by Google App Engine
This is Rietveld 408576698