Index: test/cctest/compiler/function-tester.h |
diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h |
index 7cb118ac5b412ba765c6939fca8d232f4552d6e7..440043cb942a39b3ea7526577e6344b450a62591 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::Parse(&info)); |
+ CHECK(Parser::ParseStatic(&info)); |
info.SetOptimizing(BailoutId::None(), Handle<Code>(function->code())); |
if (flags_ & CompilationInfo::kContextSpecializing) { |
info.MarkAsContextSpecializing(); |
@@ -210,7 +210,7 @@ class FunctionTester : public InitializedHandleScope { |
CHECK(Pipeline::SupportedTarget()); |
CompilationInfoWithZone info(function); |
- CHECK(Parser::Parse(&info)); |
+ CHECK(Parser::ParseStatic(&info)); |
info.SetOptimizing(BailoutId::None(), |
Handle<Code>(function->shared()->code())); |
CHECK(Compiler::Analyze(&info)); |