Index: src/compiler/control-reducer.cc |
diff --git a/src/compiler/control-reducer.cc b/src/compiler/control-reducer.cc |
index 3fb3055a1f5b9fcb8a9760463e7988b6b4dba646..ef2e7f68be16da0cba7f5a66d94eb8b4c1f18d3d 100644 |
--- a/src/compiler/control-reducer.cc |
+++ b/src/compiler/control-reducer.cc |
@@ -425,7 +425,7 @@ class ControlReducerImpl final : public AdvancedReducer { |
void ControlReducer::ReduceGraph(Zone* zone, JSGraph* jsgraph, |
int max_phis_for_select) { |
- GraphReducer graph_reducer(jsgraph->graph(), zone); |
+ GraphReducer graph_reducer(zone, jsgraph->graph()); |
ControlReducerImpl impl(&graph_reducer, zone, jsgraph); |
impl.max_phis_for_select_ = max_phis_for_select; |
graph_reducer.AddReducer(&impl); |