Index: test/cctest/test-parsing.cc |
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc |
index fe3cf7d125d0de72b9ba25609203ade8fd6e8b1b..157ffc208780ca9d57467266db515a70761c2f29 100644 |
--- a/test/cctest/test-parsing.cc |
+++ b/test/cctest/test-parsing.cc |
@@ -3378,7 +3378,8 @@ TEST(InnerAssignment) { |
v8::Local<v8::Value> v = CompileRun(program.start()); |
i::Handle<i::Object> o = v8::Utils::OpenHandle(*v); |
i::Handle<i::JSFunction> f = i::Handle<i::JSFunction>::cast(o); |
- info = std::unique_ptr<i::ParseInfo>(new i::ParseInfo(&zone, f)); |
+ i::Handle<i::SharedFunctionInfo> shared = i::handle(f->shared()); |
+ info = std::unique_ptr<i::ParseInfo>(new i::ParseInfo(&zone, shared)); |
} else { |
i::Handle<i::String> source = |
factory->InternalizeUtf8String(program.start()); |