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

Unified Diff: src/compiler/simplified-lowering.cc

Issue 476733002: Deprecte LoweringBuilder in favor of Reducer. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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/simplified-lowering.h ('k') | test/cctest/compiler/test-changes-lowering.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/simplified-lowering.cc
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc
index e32a51e136b2e5453a44a344766ff0d933c410b4..158cfc5a9f23b0d246e796d04a8181c4c7b0483e 100644
--- a/src/compiler/simplified-lowering.cc
+++ b/src/compiler/simplified-lowering.cc
@@ -719,7 +719,9 @@ void SimplifiedLowering::LowerAllNodes() {
RepresentationSelector selector(jsgraph(), zone(), &changer);
selector.Run(this);
- LoweringBuilder::LowerAllNodes();
+ GraphReducer graph_reducer(graph());
+ graph_reducer.AddReducer(this);
+ graph_reducer.ReduceGraph();
}
@@ -974,7 +976,7 @@ void SimplifiedLowering::DoStoreElement(Node* node) {
}
-void SimplifiedLowering::Lower(Node* node) {}
+Reduction SimplifiedLowering::Reduce(Node* node) { return NoChange(); }
void SimplifiedLowering::LowerChange(Node* node, Node* effect, Node* control) {
« no previous file with comments | « src/compiler/simplified-lowering.h ('k') | test/cctest/compiler/test-changes-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698