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

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

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/js-graph.h ('k') | src/compiler/js-inlining.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/js-graph.cc
diff --git a/src/compiler/js-graph.cc b/src/compiler/js-graph.cc
index 10e20a1bd5f772e0377541f9b13ee5098392f5d8..b247f8a19f534f6b9cf70fb76178ae1813541f59 100644
--- a/src/compiler/js-graph.cc
+++ b/src/compiler/js-graph.cc
@@ -203,13 +203,8 @@ Node* JSGraph::EmptyFrameState() {
}
-Node* JSGraph::DeadValue() {
- return CACHED(kDeadValue, graph()->NewNode(common()->DeadValue()));
-}
-
-
-Node* JSGraph::DeadControl() {
- return CACHED(kDeadControl, graph()->NewNode(common()->DeadControl()));
+Node* JSGraph::Dead() {
+ return CACHED(kDead, graph()->NewNode(common()->Dead()));
}
« no previous file with comments | « src/compiler/js-graph.h ('k') | src/compiler/js-inlining.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698