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 07a35b67748a5de08be33a5d500d459b492e7b6d..e850da7735d725160bbf6cf61b021e53229bf057 100644 |
--- a/test/cctest/compiler/test-changes-lowering.cc |
+++ b/test/cctest/compiler/test-changes-lowering.cc |
@@ -129,9 +129,9 @@ |
// 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); |