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 a015c501adba42e780e52721888e9fa2ffa18a66..02ba4a7fb156b95203b88dde7129549715e9b181 100644 |
--- a/test/cctest/compiler/test-changes-lowering.cc |
+++ b/test/cctest/compiler/test-changes-lowering.cc |
@@ -10,6 +10,7 @@ |
#include "src/compiler/js-graph.h" |
#include "src/compiler/node-properties-inl.h" |
#include "src/compiler/pipeline.h" |
+#include "src/compiler/select-lowering.h" |
#include "src/compiler/simplified-lowering.h" |
#include "src/compiler/verifier.h" |
#include "src/execution.h" |
@@ -126,9 +127,11 @@ class ChangesLoweringTester : public GraphBuilderTester<ReturnType> { |
// Run the graph reducer with changes lowering on a single node. |
CompilationInfo info(this->isolate(), this->zone()); |
Linkage linkage(this->zone(), &info); |
- ChangeLowering lowering(&jsgraph, &linkage); |
+ ChangeLowering change_lowering(&jsgraph, &linkage); |
+ SelectLowering select_lowering(this->graph(), this->common()); |
GraphReducer reducer(this->graph()); |
- reducer.AddReducer(&lowering); |
+ reducer.AddReducer(&change_lowering); |
+ reducer.AddReducer(&select_lowering); |
reducer.ReduceNode(change); |
Verifier::Run(this->graph(), Verifier::UNTYPED); |
} |