Index: test/cctest/compiler/test-changes-lowering.cc |
diff --git a/test/cctest/compiler/test-changes-lowering.cc b/test/cctest/compiler/test-changes-lowering.cc |
index e850da7735d725160bbf6cf61b021e53229bf057..07a35b67748a5de08be33a5d500d459b492e7b6d 100644 |
--- a/test/cctest/compiler/test-changes-lowering.cc |
+++ b/test/cctest/compiler/test-changes-lowering.cc |
@@ -129,9 +129,9 @@ class ChangesLoweringTester : public GraphBuilderTester<ReturnType> { |
// Run the graph reducer with changes lowering on a single node. |
Typer typer(this->isolate(), this->graph()); |
typer.Run(); |
- ChangeLowering change_lowering(&jsgraph); |
- SelectLowering select_lowering(this->graph(), this->common()); |
GraphReducer reducer(this->zone(), this->graph()); |
+ ChangeLowering change_lowering(&reducer, &jsgraph); |
+ SelectLowering select_lowering(this->graph(), this->common()); |
reducer.AddReducer(&change_lowering); |
reducer.AddReducer(&select_lowering); |
reducer.ReduceNode(change); |