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

Unified Diff: src/compiler/control-reducer.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/common-operator-reducer.cc ('k') | src/compiler/control-reducer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/control-reducer.h
diff --git a/src/compiler/control-reducer.h b/src/compiler/control-reducer.h
deleted file mode 100644
index 25b99ffd026265aba3a1aae3f79f365a40b4c63b..0000000000000000000000000000000000000000
--- a/src/compiler/control-reducer.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2014 the V8 project authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef V8_COMPILER_CONTROL_REDUCER_H_
-#define V8_COMPILER_CONTROL_REDUCER_H_
-
-namespace v8 {
-namespace internal {
-
-// Forward declarations.
-class Zone;
-
-
-namespace compiler {
-
-// Forward declarations.
-class JSGraph;
-class CommonOperatorBuilder;
-class Node;
-
-class ControlReducer {
- public:
- // Perform branch folding and dead code elimination on the graph.
- static void ReduceGraph(Zone* zone, JSGraph* graph,
- int max_phis_for_select = 0);
-
- // Reduces a single merge node and attached phis.
- static Node* ReduceMerge(JSGraph* graph, Node* node,
- int max_phis_for_select = 0);
-
- // Testing interface.
- static Node* ReduceIfNodeForTesting(JSGraph* graph, Node* node);
-};
-}
-}
-} // namespace v8::internal::compiler
-
-#endif // V8_COMPILER_CONTROL_REDUCER_H_
« no previous file with comments | « src/compiler/common-operator-reducer.cc ('k') | src/compiler/control-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698