Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 32319491fa02e6c878812f070903686d8b1b3a7b..fba600c20d925ea595acc26a2911c853b12879a5 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -12,6 +12,7 @@ |
#include "src/compiler/ast-graph-builder.h" |
#include "src/compiler/ast-loop-assignment-analyzer.h" |
#include "src/compiler/basic-block-instrumentor.h" |
+#include "src/compiler/binary-operator-reducer.h" |
#include "src/compiler/branch-elimination.h" |
#include "src/compiler/bytecode-graph-builder.h" |
#include "src/compiler/change-lowering.h" |
@@ -639,11 +640,14 @@ struct SimplifiedLoweringPhase { |
MachineOperatorReducer machine_reducer(data->jsgraph()); |
CommonOperatorReducer common_reducer(&graph_reducer, data->graph(), |
data->common(), data->machine()); |
+ BinaryOperatorReducer binary_reducer(&graph_reducer, data->graph(), |
+ data->common(), data->machine()); |
AddReducer(data, &graph_reducer, &dead_code_elimination); |
AddReducer(data, &graph_reducer, &simple_reducer); |
AddReducer(data, &graph_reducer, &value_numbering); |
AddReducer(data, &graph_reducer, &machine_reducer); |
AddReducer(data, &graph_reducer, &common_reducer); |
+ AddReducer(data, &graph_reducer, &binary_reducer); |
graph_reducer.ReduceGraph(); |
} |
}; |