Index: test/cctest/compiler/function-tester.h |
diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h |
index 600f6a32ee1dc1ae4b9416e950ce2d1dbedcdbd1..7e16eead38629e15612d37e5be1ba8cef649c959 100644 |
--- a/test/cctest/compiler/function-tester.h |
+++ b/test/cctest/compiler/function-tester.h |
@@ -216,9 +216,7 @@ class FunctionTester : public InitializedHandleScope { |
CHECK(Compiler::Analyze(&info)); |
CHECK(Compiler::EnsureDeoptimizationSupport(&info)); |
- Pipeline pipeline(&info); |
- Linkage linkage(info.zone(), &info); |
- Handle<Code> code = pipeline.GenerateCodeForMachineGraph(&linkage, graph); |
+ Handle<Code> code = Pipeline::GenerateCodeForTesting(&info, graph); |
CHECK(!code.is_null()); |
function->ReplaceCode(*code); |
return function; |