Index: src/runtime/runtime-internal.cc |
diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc |
index d4b71c5c6e547956694e28794c7fba9e738a82a8..1824928acf09228c10a1b4b6679df478d730e833 100644 |
--- a/src/runtime/runtime-internal.cc |
+++ b/src/runtime/runtime-internal.cc |
@@ -450,7 +450,7 @@ Handle<String> RenderCallSite(Isolate* isolate, Handle<Object> object) { |
Zone zone(isolate->allocator()); |
std::unique_ptr<ParseInfo> info( |
location.function()->shared()->is_function() |
- ? new ParseInfo(&zone, location.function()) |
+ ? new ParseInfo(&zone, handle(location.function()->shared())) |
: new ParseInfo(&zone, location.script())); |
if (Parser::ParseStatic(info.get())) { |
CallPrinter printer(isolate, location.function()->shared()->IsBuiltin()); |