Index: test/cctest/compiler/test-codegen-deopt.cc |
diff --git a/test/cctest/compiler/test-codegen-deopt.cc b/test/cctest/compiler/test-codegen-deopt.cc |
index e017cd6c4ac6163bc2ba1bf87e1cc54055302b94..a90e4025dc82d2689aa43c1cde1c316a8a6addc7 100644 |
--- a/test/cctest/compiler/test-codegen-deopt.cc |
+++ b/test/cctest/compiler/test-codegen-deopt.cc |
@@ -46,7 +46,7 @@ class DeoptCodegenTester { |
function(NewFunction(src)), |
info(function, scope->main_zone()), |
bailout_id(-1) { |
- CHECK(Parser::Parse(&info)); |
+ CHECK(Parser::ParseStatic(&info)); |
info.SetOptimizing(BailoutId::None(), Handle<Code>(function->code())); |
CHECK(Compiler::Analyze(&info)); |
CHECK(Compiler::EnsureDeoptimizationSupport(&info)); |