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

Unified Diff: runtime/vm/flow_graph_compiler.h

Issue 346823003: VM: Optimized context allocation on all platforms. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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_builder.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler.h
===================================================================
--- runtime/vm/flow_graph_compiler.h (revision 38897)
+++ runtime/vm/flow_graph_compiler.h (working copy)
@@ -190,9 +190,15 @@
Label* entry_label() { return &entry_label_; }
Label* exit_label() { return &exit_label_; }
+ void GenerateCode(FlowGraphCompiler* compiler) {
+ ASSERT(exit_label_.IsBound());
+ EmitNativeCode(compiler);
+ ASSERT(entry_label_.IsBound());
+ }
+
+ private:
virtual void EmitNativeCode(FlowGraphCompiler* compiler) = 0;
- private:
Label entry_label_;
Label exit_label_;
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698