Index: test/cctest/compiler/function-tester.h |
diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h |
index a5a71a7c423a418bbd5f4a62a241dffcad10bdbb..34c663f212bd29a61c146938d1deec671687b66d 100644 |
--- a/test/cctest/compiler/function-tester.h |
+++ b/test/cctest/compiler/function-tester.h |
@@ -8,6 +8,7 @@ |
#include "src/v8.h" |
#include "test/cctest/cctest.h" |
+#include "src/ast-numbering.h" |
#include "src/compiler.h" |
#include "src/compiler/linkage.h" |
#include "src/compiler/pipeline.h" |
@@ -166,6 +167,7 @@ class FunctionTester : public InitializedHandleScope { |
} |
CHECK(Rewriter::Rewrite(&info)); |
CHECK(Scope::Analyze(&info)); |
+ CHECK(AstNumbering::Renumber(info.function(), info.zone())); |
CHECK(Compiler::EnsureDeoptimizationSupport(&info)); |
Pipeline pipeline(&info); |
@@ -215,6 +217,7 @@ class FunctionTester : public InitializedHandleScope { |
Handle<Code>(function->shared()->code())); |
CHECK(Rewriter::Rewrite(&info)); |
CHECK(Scope::Analyze(&info)); |
+ CHECK(AstNumbering::Renumber(info.function(), info.zone())); |
CHECK(Compiler::EnsureDeoptimizationSupport(&info)); |
Pipeline pipeline(&info); |