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

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: Don't inspect control outputs if the operator is NoThrow 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') | src/compiler/js-inlining.h » ('J')
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 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;
};
« no previous file with comments | « no previous file | src/compiler/all-nodes.cc » ('j') | src/compiler/js-inlining.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698