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 1b752edd3c855138d5f909b38a0308528c53aea6..756712675991ed97552a15dd33da2e4231329953 100644 |
--- a/test/cctest/compiler/test-simplified-lowering.cc |
+++ b/test/cctest/compiler/test-simplified-lowering.cc |
@@ -60,8 +60,8 @@ class SimplifiedLoweringTester : public GraphBuilderTester<ReturnType> { |
typer.Run(); |
lowering.LowerAllNodes(); |
- ChangeLowering lowering(&jsgraph); |
GraphReducer reducer(this->zone(), this->graph()); |
+ ChangeLowering lowering(&reducer, &jsgraph); |
reducer.AddReducer(&lowering); |
reducer.ReduceGraph(); |
Verifier::Run(this->graph()); |
@@ -726,8 +726,8 @@ class TestingGraph : public HandleAndZoneScope, public GraphAndBuilders { |
SourcePositionTable table(jsgraph.graph()); |
SimplifiedLowering(&jsgraph, jsgraph.zone(), &table).LowerAllNodes(); |
- ChangeLowering lowering(&jsgraph); |
GraphReducer reducer(this->zone(), this->graph()); |
+ ChangeLowering lowering(&reducer, &jsgraph); |
reducer.AddReducer(&lowering); |
reducer.ReduceGraph(); |
Verifier::Run(this->graph()); |