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

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
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_;

Powered by Google App Engine
This is Rietveld 408576698