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 02ba4a7fb156b95203b88dde7129549715e9b181..43bf2533d036d46101e28a36bd70f877c8b5d0aa 100644 |
--- a/test/cctest/compiler/test-changes-lowering.cc |
+++ b/test/cctest/compiler/test-changes-lowering.cc |
@@ -12,6 +12,7 @@ |
#include "src/compiler/pipeline.h" |
#include "src/compiler/select-lowering.h" |
#include "src/compiler/simplified-lowering.h" |
+#include "src/compiler/typer.h" |
#include "src/compiler/verifier.h" |
#include "src/execution.h" |
#include "src/globals.h" |
@@ -127,6 +128,8 @@ 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); |
+ Typer typer(this->graph(), info.context()); |
+ typer.Run(); |
ChangeLowering change_lowering(&jsgraph, &linkage); |
SelectLowering select_lowering(this->graph(), this->common()); |
GraphReducer reducer(this->graph()); |