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

Unified Diff: runtime/vm/flow_graph_optimizer.cc

Issue 10458050: Move ReturnInstr to new scheme (x64 and ia32) and implement more code in new ia32 compiler. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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 | « runtime/vm/flow_graph_compiler_x64.cc ('k') | runtime/vm/intermediate_language.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_optimizer.cc
===================================================================
--- runtime/vm/flow_graph_optimizer.cc (revision 8165)
+++ runtime/vm/flow_graph_optimizer.cc (working copy)
@@ -17,12 +17,7 @@
VisitBlocks();
if (FLAG_print_flow_graph) {
OS::Print("After Optimizations:\n");
- intptr_t length = block_order_.length();
- GrowableArray<BlockEntryInstr*> reverse_postorder(length);
- for (intptr_t i = length - 1; i >= 0; --i) {
- reverse_postorder.Add(block_order_[i]);
- }
- FlowGraphPrinter printer(Function::Handle(), reverse_postorder);
+ FlowGraphPrinter printer(Function::Handle(), block_order_);
printer.PrintBlocks();
}
}
« no previous file with comments | « runtime/vm/flow_graph_compiler_x64.cc ('k') | runtime/vm/intermediate_language.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698