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 b953ee53cc2aa2f567ced15478984dc7757c2245..55a705b3f71ed30b589e570a026ef52bf50898f1 100644 |
--- a/test/cctest/compiler/test-codegen-deopt.cc |
+++ b/test/cctest/compiler/test-codegen-deopt.cc |
@@ -50,6 +50,8 @@ class DeoptCodegenTester { |
CHECK(Rewriter::Rewrite(&info)); |
CHECK(Scope::Analyze(&info)); |
CHECK_NE(NULL, info.scope()); |
+ Handle<ScopeInfo> scope_info = ScopeInfo::Create(info.scope(), info.zone()); |
+ info.shared_info()->set_scope_info(*scope_info); |
FunctionTester::EnsureDeoptimizationSupport(&info); |