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 756712675991ed97552a15dd33da2e4231329953..1b752edd3c855138d5f909b38a0308528c53aea6 100644 |
--- a/test/cctest/compiler/test-simplified-lowering.cc |
+++ b/test/cctest/compiler/test-simplified-lowering.cc |
@@ -60,8 +60,8 @@ |
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 @@ |
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()); |