Index: test/cctest/compiler/function-tester.h |
diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h |
index 2ed2fe99883da65ae29d0c40ef287d40b1b41ed0..67b704db911d30add319c8a670f6ed4f05607d19 100644 |
--- a/test/cctest/compiler/function-tester.h |
+++ b/test/cctest/compiler/function-tester.h |
@@ -46,6 +46,8 @@ class FunctionTester : public InitializedHandleScope { |
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); |
EnsureDeoptimizationSupport(&info); |