diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc index e44e817a41..6b690e1d20 100644 --- a/src/compiler/pipeline.cc +++ b/src/compiler/pipeline.cc @@ -1140,6 +1140,7 @@ struct LateOptimizationPhase { data->jsgraph(), temp_zone); DeadCodeElimination dead_code_elimination(&graph_reducer, data->graph(), data->common()); + ValueNumberingReducer value_numbering(temp_zone, data->graph()->zone()); MachineOperatorReducer machine_reducer(data->jsgraph()); CommonOperatorReducer common_reducer(&graph_reducer, data->graph(), data->common(), data->machine()); @@ -1148,6 +1149,7 @@ struct LateOptimizationPhase { TailCallOptimization tco(data->common(), data->graph()); AddReducer(data, &graph_reducer, &branch_condition_elimination); AddReducer(data, &graph_reducer, &dead_code_elimination); + AddReducer(data, &graph_reducer, &value_numbering); AddReducer(data, &graph_reducer, &machine_reducer); AddReducer(data, &graph_reducer, &common_reducer); AddReducer(data, &graph_reducer, &select_lowering);