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 3b5a7379eb8e09eb32de5d1aa4e8a1a9ab7c17d1..0d2d5d142274b084d17a24a1e9ed3d4fe320a441 100644 |
--- a/test/cctest/compiler/test-codegen-deopt.cc |
+++ b/test/cctest/compiler/test-codegen-deopt.cc |
@@ -16,6 +16,7 @@ |
#include "src/compiler/register-allocator.h" |
#include "src/compiler/schedule.h" |
+#include "src/ast-numbering.h" |
#include "src/full-codegen.h" |
#include "src/parser.h" |
#include "src/rewriter.h" |
@@ -48,6 +49,7 @@ class DeoptCodegenTester { |
info.SetOptimizing(BailoutId::None(), Handle<Code>(function->code())); |
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()); |