Commit f57e7da4 authored by Dan Elphick's avatar Dan Elphick Committed by Commit Bot

[snapshot] Fix deref of raw pointer after potential GC

Fixes the one case after calling EnsureSourcePositionsCollected that we
were still using the non-handle version of the SharedFunctionInfo.

Bug: chromium:1048555
Change-Id: Iefd35fab13623a1f05212c98864be62c37463942
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2037437
Commit-Queue: Dan Elphick <delphick@chromium.org>
Commit-Queue: Igor Sheludko <ishell@chromium.org>
Auto-Submit: Dan Elphick <delphick@chromium.org>
Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#66130}
parent 00200391
......@@ -341,7 +341,7 @@ MaybeHandle<SharedFunctionInfo> CodeSerializer::Deserialize(
script->GetColumnNumber(shared_info->StartPosition()) + 1;
PROFILE(isolate,
CodeCreateEvent(CodeEventListener::SCRIPT_TAG,
handle(info.abstract_code(), isolate),
handle(shared_info->abstract_code(), isolate),
shared_info, name, line_num, column_num));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment