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

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: 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
Index: src/compiler/js-graph.h
diff --git a/src/compiler/js-graph.h b/src/compiler/js-graph.h
index b6b1322f331c9a0c1fd508a7e5245eed61f96ebf..dda1277419437389e9dcd46a29e7eedad4f5e2f9 100644
--- a/src/compiler/js-graph.h
+++ b/src/compiler/js-graph.h
@@ -117,10 +117,7 @@ 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.
+ // Create a control node that serves as control dependency for dead nodes.
Node* DeadControl();
JSOperatorBuilder* javascript() const { return javascript_; }
@@ -145,7 +142,6 @@ class JSGraph : public ZoneObject {
kOneConstant,
kNaNConstant,
kEmptyFrameState,
- kDeadValue,
kDeadControl,
kNumCachedNodes // Must remain last.
};

Powered by Google App Engine
This is Rietveld 408576698