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

Unified Diff: runtime/vm/flow_graph_builder.h

Issue 298913007: Use isolate when allocation Zone objects and handles: focus on FlowGraphOptimizer, next inliner. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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 | « runtime/vm/flow_graph.cc ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_builder.h
===================================================================
--- runtime/vm/flow_graph_builder.h (revision 36573)
+++ runtime/vm/flow_graph_builder.h (working copy)
@@ -9,6 +9,7 @@
#include "platform/globals.h"
#include "vm/allocation.h"
#include "vm/ast.h"
+#include "vm/flow_graph.h"
#include "vm/growable_array.h"
#include "vm/intermediate_language.h"
#include "vm/raw_object.h"
@@ -19,7 +20,6 @@
class Array;
class Class;
class Field;
-class FlowGraph;
class LocalVariable;
class ParsedFunction;
class String;
@@ -129,6 +129,8 @@
Definition* JoinReturns(BlockEntryInstr** exit_block,
Instruction** last_instruction);
+ Isolate* isolate() const { return caller_graph_->isolate(); }
+
FlowGraph* caller_graph_;
Definition* call_;
GrowableArray<Data> exits_;
« no previous file with comments | « runtime/vm/flow_graph.cc ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698