Skip to content

Eagerly unlinking CodeBlock when jettisoning https://bugs.webkit.org/…#1669

Open
aoikonomopoulos wants to merge 1 commit intoWebPlatformForEmbedded:wpe-2.38from
aoikonomopoulos:wpe-2.38-backport-Eagerly-unlinking-CodeBlock-when-jettisoning
Open

Eagerly unlinking CodeBlock when jettisoning https://bugs.webkit.org/…#1669
aoikonomopoulos wants to merge 1 commit intoWebPlatformForEmbedded:wpe-2.38from
aoikonomopoulos:wpe-2.38-backport-Eagerly-unlinking-CodeBlock-when-jettisoning

Conversation

@aoikonomopoulos
Copy link
Copy Markdown

@aoikonomopoulos aoikonomopoulos commented May 6, 2026

…show_bug.cgi?id=294420 rdar://153246940

Reviewed by Keith Miller.

Let's make CodeBlock jettisoning a bit safer. Regardless of the type
of CodeBlock, when it is getting jettisoning, ensuring unlinking it
from CallLinkInfo is fine.

* Source/JavaScriptCore/bytecode/CodeBlock.cpp:
(JSC::CodeBlock::jettison):

Canonical link: https://commits.webkit.org/296207@main
@aoikonomopoulos
Copy link
Copy Markdown
Author

Note that this substitutes unlinkIncomingCalls for the original's unlinkOrUpgradeIncomingCalls. Otherwise, we'd need to bring in https://commits.webkit.org/273190@main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants