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

Unified Diff: runtime/vm/flow_graph_compiler_arm.h

Issue 10356051: First steps toward a two stages new 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
Index: runtime/vm/flow_graph_compiler_arm.h
===================================================================
--- runtime/vm/flow_graph_compiler_arm.h (revision 7399)
+++ runtime/vm/flow_graph_compiler_arm.h (working copy)
@@ -24,8 +24,11 @@
public:
FlowGraphCompiler(Assembler* assembler,
const ParsedFunction& parsed_function,
- const GrowableArray<BlockEntryInstr*>& blocks)
- : FlowGraphVisitor(blocks), parsed_function_(parsed_function) {
+ const GrowableArray<BlockEntryInstr*>& blocks,
+ bool is_optimizing)
+ : FlowGraphVisitor(blocks),
+ parsed_function_(parsed_function),
+ is_optimizing_(is_optimizing) {
}
virtual ~FlowGraphCompiler() { }
@@ -43,6 +46,7 @@
void Bailout(const char* reason);
const ParsedFunction& parsed_function_;
+ const bool is_optimizing_;
DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
};

Powered by Google App Engine
This is Rietveld 408576698