Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 7b364a7e119aee7c75bcb25d75f5fe10862713d3..f7c5d43874c9ea664a0fe69e5b8a0218fe230b21 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -557,13 +557,13 @@ struct TypedLoweringPhase { |
static const char* phase_name() { return "typed lowering"; } |
void Run(PipelineData* data, Zone* temp_zone) { |
+ GraphReducer graph_reducer(data->graph(), temp_zone); |
LoadElimination load_elimination; |
JSBuiltinReducer builtin_reducer(data->jsgraph()); |
- JSTypedLowering typed_lowering(data->jsgraph(), temp_zone); |
+ JSTypedLowering typed_lowering(&graph_reducer, data->jsgraph(), temp_zone); |
JSIntrinsicLowering intrinsic_lowering(data->jsgraph()); |
SimplifiedOperatorReducer simple_reducer(data->jsgraph()); |
CommonOperatorReducer common_reducer(data->jsgraph()); |
- GraphReducer graph_reducer(data->graph(), temp_zone); |
AddReducer(data, &graph_reducer, &builtin_reducer); |
AddReducer(data, &graph_reducer, &typed_lowering); |
AddReducer(data, &graph_reducer, &intrinsic_lowering); |