Index: test/cctest/compiler/function-tester.h |
diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h |
index 9779c518ad53058516c9592f174b633641c3f43a..3881f09c47faa6895a7a17487f36c055c1c03620 100644 |
--- a/test/cctest/compiler/function-tester.h |
+++ b/test/cctest/compiler/function-tester.h |
@@ -155,7 +155,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(); |
@@ -166,7 +166,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); |
@@ -211,10 +211,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); |