| Index: test/cctest/compiler/function-tester.h
|
| diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h
|
| index 440043cb942a39b3ea7526577e6344b450a62591..28ee02a5f11ef765ef11a7c8fc78e593e01fa9cd 100644
|
| --- a/test/cctest/compiler/function-tester.h
|
| +++ b/test/cctest/compiler/function-tester.h
|
| @@ -154,7 +154,7 @@ class FunctionTester : public InitializedHandleScope {
|
| #if V8_TURBOFAN_TARGET
|
| CompilationInfoWithZone info(function);
|
|
|
| - CHECK(Parser::ParseStatic(&info));
|
| + CHECK(Parser::ParseStatic(info.parse_info()));
|
| info.SetOptimizing(BailoutId::None(), Handle<Code>(function->code()));
|
| if (flags_ & CompilationInfo::kContextSpecializing) {
|
| info.MarkAsContextSpecializing();
|
| @@ -165,7 +165,7 @@ class FunctionTester : public InitializedHandleScope {
|
| if (flags_ & CompilationInfo::kTypingEnabled) {
|
| info.MarkAsTypingEnabled();
|
| }
|
| - CHECK(Compiler::Analyze(&info));
|
| + CHECK(Compiler::Analyze(info.parse_info()));
|
| CHECK(Compiler::EnsureDeoptimizationSupport(&info));
|
|
|
| Pipeline pipeline(&info);
|
| @@ -210,10 +210,10 @@ class FunctionTester : public InitializedHandleScope {
|
| CHECK(Pipeline::SupportedTarget());
|
| CompilationInfoWithZone info(function);
|
|
|
| - CHECK(Parser::ParseStatic(&info));
|
| + CHECK(Parser::ParseStatic(info.parse_info()));
|
| info.SetOptimizing(BailoutId::None(),
|
| Handle<Code>(function->shared()->code()));
|
| - CHECK(Compiler::Analyze(&info));
|
| + CHECK(Compiler::Analyze(info.parse_info()));
|
| CHECK(Compiler::EnsureDeoptimizationSupport(&info));
|
|
|
| Handle<Code> code = Pipeline::GenerateCodeForTesting(&info, graph);
|
|
|