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