Index: test/cctest/compiler/test-simplified-lowering.cc |
diff --git a/test/cctest/compiler/test-simplified-lowering.cc b/test/cctest/compiler/test-simplified-lowering.cc |
index f4f137482ea8c9fc1b732b2d9634e71a9bf0d177..a3cd6a7d7ec7ce84cb99dda864f3b0cce82a2bb1 100644 |
--- a/test/cctest/compiler/test-simplified-lowering.cc |
+++ b/test/cctest/compiler/test-simplified-lowering.cc |
@@ -67,8 +67,8 @@ class SimplifiedLoweringTester : public GraphBuilderTester<ReturnType> { |
EffectControlLinearizer linearizer(&jsgraph, schedule, this->zone()); |
linearizer.Run(); |
- ChangeLowering lowering(&jsgraph); |
GraphReducer reducer(this->zone(), this->graph()); |
+ ChangeLowering lowering(&reducer, &jsgraph); |
reducer.AddReducer(&lowering); |
reducer.ReduceGraph(); |
Verifier::Run(this->graph()); |
@@ -738,8 +738,8 @@ class TestingGraph : public HandleAndZoneScope, public GraphAndBuilders { |
EffectControlLinearizer linearizer(&jsgraph, schedule, this->zone()); |
linearizer.Run(); |
- ChangeLowering lowering(&jsgraph); |
GraphReducer reducer(this->zone(), this->graph()); |
+ ChangeLowering lowering(&reducer, &jsgraph); |
reducer.AddReducer(&lowering); |
reducer.ReduceGraph(); |
Verifier::Run(this->graph()); |