Skip to content

[MakeSharedObjects] Support externref tags - #9147

Open
tlively wants to merge 1 commit into
make-shared-obj-stringsfrom
make-share-obj-jstag
Open

tlively wants to merge 1 commit into
make-shared-obj-stringsfrom
make-share-obj-jstag

Conversation

@tlively

@tlively tlively commented Sep 23, 2026

Copy link
Copy Markdown
Member

Keep externref parameter types on tags unchanged so exceptions leaving or entering the module carry externrefs rather than lowered i31ref table indices. Convert operands from i31ref to externref in visitThrow and convert popped values from externref to i31ref in visitPop, fixing up any resulting block-nested pops after walking the function. This lets imports of JSTag continue working as expected.

Keep externref parameter types on tags unchanged so exceptions leaving or entering the module carry externrefs rather than lowered i31ref table indices. Convert operands from i31ref to externref in visitThrow and convert popped values from externref to i31ref in visitPop, fixing up any resulting block-nested pops after walking the function. This lets imports of JSTag continue working as expected.
@tlively
tlively requested a review from a team as a code owner September 23, 2026 04:49
@tlively
tlively requested review from kripken and removed request for a team September 23, 2026 04:49

This branch has not been deployed

No deployments
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.

1 participant