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

Unified Diff: src/compiler/control-reducer.h

Issue 1122423003: [turbofan] Add support for advanced reducers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Move comment Created 5 years, 7 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/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
index 1e29e01e85a68d29f02c1992ef9b8a9a1d5a8b6f..06fb9e5df450625bb4b80b601e3eb889ec8750f3 100644
--- a/src/compiler/control-reducer.h
+++ b/src/compiler/control-reducer.h
@@ -23,22 +23,18 @@ class ControlReducer {
public:
// Perform branch folding and dead code elimination on the graph.
static void ReduceGraph(Zone* zone, JSGraph* graph,
- CommonOperatorBuilder* builder,
int max_phis_for_select = 0);
// Trim nodes in the graph that are not reachable from end.
static void TrimGraph(Zone* zone, JSGraph* graph);
// Reduces a single merge node and attached phis.
- static Node* ReduceMerge(JSGraph* graph, CommonOperatorBuilder* builder,
- Node* node, int max_phis_for_select = 0);
+ static Node* ReduceMerge(JSGraph* graph, Node* node,
+ int max_phis_for_select = 0);
// Testing interface.
- static Node* ReducePhiForTesting(JSGraph* graph,
- CommonOperatorBuilder* builder, Node* node);
- static Node* ReduceIfNodeForTesting(JSGraph* graph,
- CommonOperatorBuilder* builder,
- Node* node);
+ static Node* ReducePhiForTesting(JSGraph* graph, Node* node);
+ static Node* ReduceIfNodeForTesting(JSGraph* graph, Node* node);
};
}
}
« no previous file with comments | « no previous file | src/compiler/control-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698