Index: test/cctest/compiler/test-changes-lowering.cc |
diff --git a/test/cctest/compiler/test-changes-lowering.cc b/test/cctest/compiler/test-changes-lowering.cc |
index 148f4b34f546c896e3b9dd63abfd9cd333da81fb..420368aa0129996038119d1612dc94eec0706bde 100644 |
--- a/test/cctest/compiler/test-changes-lowering.cc |
+++ b/test/cctest/compiler/test-changes-lowering.cc |
@@ -61,6 +61,9 @@ class ChangesLoweringTester : public GraphBuilderTester<ReturnType> { |
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); |
Pipeline pipeline(&info); |
Linkage linkage(&info); |
Handle<Code> code = |