Index: test/cctest/compiler/function-tester.h |
diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h |
index 600f6a32ee1dc1ae4b9416e950ce2d1dbedcdbd1..eb6bd498cc19e34a415b74dd84cb3601bcb11002 100644 |
--- a/test/cctest/compiler/function-tester.h |
+++ b/test/cctest/compiler/function-tester.h |
@@ -165,7 +165,9 @@ class FunctionTester : public InitializedHandleScope { |
if (flags_ & CompilationInfo::kTypingEnabled) { |
info.MarkAsTypingEnabled(); |
} |
- CHECK(Compiler::Analyze(&info)); |
+ CHECK(Rewriter::Rewrite(&info)); |
+ CHECK(Scope::Analyze(&info)); |
+ CHECK(AstNumbering::Renumber(info.function(), info.zone())); |
CHECK(Compiler::EnsureDeoptimizationSupport(&info)); |
Pipeline pipeline(&info); |
@@ -213,7 +215,9 @@ class FunctionTester : public InitializedHandleScope { |
CHECK(Parser::Parse(&info)); |
info.SetOptimizing(BailoutId::None(), |
Handle<Code>(function->shared()->code())); |
- CHECK(Compiler::Analyze(&info)); |
+ CHECK(Rewriter::Rewrite(&info)); |
+ CHECK(Scope::Analyze(&info)); |
+ CHECK(AstNumbering::Renumber(info.function(), info.zone())); |
CHECK(Compiler::EnsureDeoptimizationSupport(&info)); |
Pipeline pipeline(&info); |