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

Unified Diff: vm/flow_graph_builder.h

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 | « vm/compiler.cc ('k') | vm/flow_graph_builder.cc » ('j') | vm/il_printer.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/flow_graph_builder.h
===================================================================
--- vm/flow_graph_builder.h (revision 7699)
+++ vm/flow_graph_builder.h (working copy)
@@ -24,10 +24,14 @@
const ParsedFunction& parsed_function() const { return parsed_function_; }
- const GrowableArray<BlockEntryInstr*>& postorder_block_entries() const {
- return postorder_block_entries_;
+ GrowableArray<BlockEntryInstr*>* postorder_block_entries() {
+ return &postorder_block_entries_;
srdjan 2012/05/17 22:59:22 Why not const reference result (and make the gette
Florian Schneider 2012/05/18 00:28:38 Done.
}
+ GrowableArray<BlockEntryInstr*>* preorder_block_entries() {
+ return &preorder_block_entries_;
+ }
+
void Bailout(const char* reason);
void set_context_level(intptr_t value) { context_level_ = value; }
« no previous file with comments | « vm/compiler.cc ('k') | vm/flow_graph_builder.cc » ('j') | vm/il_printer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698