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 d68298612918cbd46a01360fbe53f9132e95264e..eded992a5f93d2585e0bdfbb9063afa12e531606 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()); |