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

Unified Diff: vm/compiler.cc

Issue 10407031: Add IR printing into a supplied buffer. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
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 | « no previous file | vm/flow_graph_builder.h » ('j') | vm/flow_graph_builder.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/compiler.cc
===================================================================
--- vm/compiler.cc (revision 7699)
+++ vm/compiler.cc (working copy)
@@ -187,9 +187,9 @@
// The non-optimizing compiler compiles blocks in reverse postorder,
// because it is a 'natural' order for the human reader of the
// generated code.
- intptr_t length = graph_builder.postorder_block_entries().length();
+ intptr_t length = graph_builder.postorder_block_entries()->length();
for (intptr_t i = length - 1; i >= 0; --i) {
- block_order.Add(graph_builder.postorder_block_entries()[i]);
+ block_order.Add((*graph_builder.postorder_block_entries())[i]);
}
}
« no previous file with comments | « no previous file | vm/flow_graph_builder.h » ('j') | vm/flow_graph_builder.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698