Index: test/cctest/compiler/function-tester.h |
diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h |
index b94d818081673e514aa3303b42dd57e54f3c3106..623450f9edaae19892bef13d426b8550e892e3ab 100644 |
--- a/test/cctest/compiler/function-tester.h |
+++ b/test/cctest/compiler/function-tester.h |
@@ -194,8 +194,7 @@ class FunctionTester : public InitializedHandleScope { |
CHECK(Compiler::Analyze(info.parse_info())); |
CHECK(Compiler::EnsureDeoptimizationSupport(&info)); |
- Pipeline pipeline(&info); |
- Handle<Code> code = pipeline.GenerateCode(); |
+ Handle<Code> code = Pipeline::GenerateCodeForTesting(&info); |
CHECK(!code.is_null()); |
info.dependencies()->Commit(code); |
info.context()->native_context()->AddOptimizedCode(*code); |