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

Unified Diff: runtime/vm/flow_graph.h

Issue 617933003: Iterative graph traversal in FlowGraph::DiscoverBlocks() (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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 | « no previous file | runtime/vm/flow_graph.cc » ('j') | runtime/vm/flow_graph.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph.h
diff --git a/runtime/vm/flow_graph.h b/runtime/vm/flow_graph.h
index 45d64a7f8e41b1be53e2418c4eb6ddca97780b8f..134cc5ac48b1ab20e2880f644afc5983284420e8 100644
--- a/runtime/vm/flow_graph.h
+++ b/runtime/vm/flow_graph.h
@@ -42,6 +42,17 @@ class BlockIterator : public ValueObject {
};
+struct BlockEntryEdge {
+ BlockEntryEdge(BlockEntryInstr* parent, BlockEntryInstr* child)
+ : parent(parent),
+ child(child) { }
+ BlockEntryInstr* parent;
+ BlockEntryInstr* child;
+
+ DISALLOW_ALLOCATION();
+};
+
+
struct ConstantPoolTrait {
typedef ConstantInstr* Value;
typedef const Object& Key;
« no previous file with comments | « no previous file | runtime/vm/flow_graph.cc » ('j') | runtime/vm/flow_graph.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698