Index: src/compiler/all-nodes.h |
diff --git a/src/compiler/all-nodes.h b/src/compiler/all-nodes.h |
index 700f0071b1e531e5514a121554a984cdcba3924d..12a981a38c3918fe75e61dd0d54fe1e87e279981 100644 |
--- a/src/compiler/all-nodes.h |
+++ b/src/compiler/all-nodes.h |
@@ -18,6 +18,9 @@ class AllNodes { |
public: |
// Constructor. Traverses the graph and builds the {live} sets. |
AllNodes(Zone* local_zone, const Graph* graph); |
+ // Constructor. Traverses the graph and builds the {live} set reachable from |
+ // a node in the graph. |
+ AllNodes(Zone* local_zone, Node* end, const Graph* graph); |
bool IsLive(Node* node) { |
if (!node) return false; |
@@ -28,6 +31,8 @@ class AllNodes { |
NodeVector live; // Nodes reachable from end. |
private: |
+ void Mark(Zone* local_zone, Node* end, const Graph* graph); |
+ |
BoolVector is_live; |
}; |