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

Unified Diff: runtime/vm/flow_graph_allocator.h

Issue 10857016: Refactored FlowGraphBuilder into a separate FlowGraph representation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added flow_graph.{h,cc} Created 8 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_allocator.h
diff --git a/runtime/vm/flow_graph_allocator.h b/runtime/vm/flow_graph_allocator.h
index 25e5fd3ece609c1a0c84cdb7ae0a403eae77cce3..36e9631b2bfc490cc749863e6d0960526e37447f 100644
--- a/runtime/vm/flow_graph_allocator.h
+++ b/runtime/vm/flow_graph_allocator.h
@@ -12,15 +12,14 @@ namespace dart {
class AllocationFinger;
class BlockInfo;
-class FlowGraphBuilder;
+class FlowGraph;
class LiveRange;
class UseInterval;
class UsePosition;
class FlowGraphAllocator : public ValueObject {
public:
- FlowGraphAllocator(const GrowableArray<BlockEntryInstr*>& block_order,
- FlowGraphBuilder* builder);
+ explicit FlowGraphAllocator(FlowGraph* flow_graph);
void AllocateRegisters();
@@ -176,7 +175,7 @@ class FlowGraphAllocator : public ValueObject {
// TODO(vegorov): this field is used only to call Bailout. Remove when
Kevin Millikin (Google) 2012/08/16 08:09:57 I don't think the TODO comment is accurate anymore
zerny-google 2012/08/16 11:52:27 Done.
// all bailouts are gone.
- FlowGraphBuilder* builder_;
+ FlowGraph* flow_graph_;
const GrowableArray<BlockEntryInstr*>& block_order_;
const GrowableArray<BlockEntryInstr*>& postorder_;

Powered by Google App Engine
This is Rietveld 408576698