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

Unified Diff: src/compiler/js-graph.h

Issue 1193833002: [turbofan] Proper dead code elimination as regular reducer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Renamed DeadControl to Dead. Created 5 years, 6 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 | « src/compiler/graph-visualizer.cc ('k') | src/compiler/js-graph.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/js-graph.h
diff --git a/src/compiler/js-graph.h b/src/compiler/js-graph.h
index b6b1322f331c9a0c1fd508a7e5245eed61f96ebf..c7f07d46db9b7827b7cf5b96133f47998e263788 100644
--- a/src/compiler/js-graph.h
+++ b/src/compiler/js-graph.h
@@ -117,11 +117,8 @@ class JSGraph : public ZoneObject {
// cannot deopt.
Node* EmptyFrameState();
- // Creates a value node that servers as value input for dead nodes.
- Node* DeadValue();
-
- // Creates a control node that serves as control dependency for dead nodes.
- Node* DeadControl();
+ // Create a control node that serves as dependency for dead nodes.
+ Node* Dead();
JSOperatorBuilder* javascript() const { return javascript_; }
CommonOperatorBuilder* common() const { return common_; }
@@ -145,8 +142,7 @@ class JSGraph : public ZoneObject {
kOneConstant,
kNaNConstant,
kEmptyFrameState,
- kDeadValue,
- kDeadControl,
+ kDead,
kNumCachedNodes // Must remain last.
};
« no previous file with comments | « src/compiler/graph-visualizer.cc ('k') | src/compiler/js-graph.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698