Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 8008827f3375704b80f08c2fa0991dc6a911b99a..96a4eab5786280d6e74475c85c598615cc5653e2 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" |
@@ -638,11 +639,14 @@ |
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(); |
} |
}; |