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

Unified Diff: runtime/vm/flow_graph_builder.h

Issue 9706086: Clean-up CodeGenState: remove unused loop_level and move context_level to CodeGenerator (and add it… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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_builder.h
===================================================================
--- runtime/vm/flow_graph_builder.h (revision 5548)
+++ runtime/vm/flow_graph_builder.h (working copy)
@@ -32,9 +32,13 @@
void Bailout(const char* reason);
+ void set_context_level(intptr_t value) { context_level_ = value; }
+ intptr_t context_level() const { return context_level_; }
+
private:
const ParsedFunction& parsed_function_;
GrowableArray<BlockEntryInstr*> postorder_block_entries_;
+ intptr_t context_level_;
};

Powered by Google App Engine
This is Rietveld 408576698