Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 73d484ba197d78b1507d65e7109226b0420f3d0d..ec57f4a52651dc90a86c71c625471665c1700d12 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -900,6 +900,7 @@ struct TypedLoweringPhase { |
data->info()->is_deoptimization_enabled() |
? JSIntrinsicLowering::kDeoptimizationEnabled |
: JSIntrinsicLowering::kDeoptimizationDisabled); |
+ ValueNumberingReducer value_numbering(temp_zone); |
SimplifiedOperatorReducer simple_reducer(&graph_reducer, data->jsgraph()); |
CheckpointElimination checkpoint_elimination(&graph_reducer); |
CommonOperatorReducer common_reducer(&graph_reducer, data->graph(), |
@@ -912,6 +913,7 @@ struct TypedLoweringPhase { |
AddReducer(data, &graph_reducer, &typed_lowering); |
AddReducer(data, &graph_reducer, &intrinsic_lowering); |
AddReducer(data, &graph_reducer, &load_elimination); |
+ AddReducer(data, &graph_reducer, &value_numbering); |
AddReducer(data, &graph_reducer, &simple_reducer); |
AddReducer(data, &graph_reducer, &checkpoint_elimination); |
AddReducer(data, &graph_reducer, &common_reducer); |