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

Unified Diff: src/compiler/all-nodes.h

Issue 2216353002: [turbofan] Also inline into try blocks. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@p5-base
Patch Set: Remove failing test that depends on changing Turbofan internals. Created 4 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
« no previous file with comments | « no previous file | src/compiler/all-nodes.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/all-nodes.h
diff --git a/src/compiler/all-nodes.h b/src/compiler/all-nodes.h
index 36f02e958256853e619c9ebdec0c48d4ed90d873..24a63b239dd2089d4a09e6673955b651e41ea063 100644
--- a/src/compiler/all-nodes.h
+++ b/src/compiler/all-nodes.h
@@ -16,9 +16,13 @@ namespace compiler {
// from end.
class AllNodes {
public:
- // Constructor. Traverses the graph and builds the {reachable} sets. When
- // {only_inputs} is true, find the nodes reachable through input edges;
- // these are all live nodes.
+ // Constructor. Traverses the graph and builds the {reachable} set of nodes
+ // reachable from {end}. When {only_inputs} is true, find the nodes
+ // reachable through input edges; these are all live nodes.
+ AllNodes(Zone* local_zone, Node* end, const Graph* graph,
+ bool only_inputs = true);
+ // Constructor. Traverses the graph and builds the {reachable} set of nodes
+ // reachable from the End node.
AllNodes(Zone* local_zone, const Graph* graph, bool only_inputs = true);
bool IsLive(Node* node) {
@@ -35,6 +39,8 @@ class AllNodes {
NodeVector reachable; // Nodes reachable from end.
private:
+ void Mark(Zone* local_zone, Node* end, const Graph* graph);
+
BoolVector is_reachable_;
const bool only_inputs_;
};
« no previous file with comments | « no previous file | src/compiler/all-nodes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698