Skip to content

[Stack Switching] RemoveUnusedModuleElements: Fix closed world analysis of continuation functions#7841

Merged
kripken merged 4 commits intoWebAssembly:mainfrom
kripken:cont.rume
Aug 19, 2025
Merged

[Stack Switching] RemoveUnusedModuleElements: Fix closed world analysis of continuation functions#7841
kripken merged 4 commits intoWebAssembly:mainfrom
kripken:cont.rume

Conversation

@kripken
Copy link
Copy Markdown
Member

@kripken kripken commented Aug 18, 2025

cont.new is a way to execute code, so we need to be aware of that,
otherwise we might think a function will never be called, and turn its
body unreachable.

@kripken kripken requested a review from tlively August 18, 2025 23:26
@kripken kripken merged commit 71ddfcf into WebAssembly:main Aug 19, 2025
16 checks passed
@kripken kripken deleted the cont.rume branch August 19, 2025 00:06
kripken added a commit that referenced this pull request Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants