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 f01b0e13fa212400f9b48628a36028db62e7a887..799fa9438e47029d06ce692801f4a17f5ad30e5e 100644 |
--- a/test/cctest/compiler/test-codegen-deopt.cc |
+++ b/test/cctest/compiler/test-codegen-deopt.cc |
@@ -47,7 +47,9 @@ class DeoptCodegenTester { |
bailout_id(-1) { |
CHECK(Parser::Parse(&info)); |
info.SetOptimizing(BailoutId::None(), Handle<Code>(function->code())); |
- CHECK(Compiler::Analyze(&info)); |
+ CHECK(Rewriter::Rewrite(&info)); |
+ CHECK(Scope::Analyze(&info)); |
+ CHECK(AstNumbering::Renumber(info.function(), info.zone())); |
CHECK(Compiler::EnsureDeoptimizationSupport(&info)); |
DCHECK(info.shared_info()->has_deoptimization_support()); |