Skip to content

wasm-merge call_indirect #5782

Answered by tlively
spotandjake asked this question in Q&A
Discussion options

You must be logged in to vote

Here's the scheme I would expect such languages to follow: If module A wants to call_indirect a function from module B, then A would import the function from B and put it in A's table. Separately, module B might also put the function in B's table for its own use. When modules A and B are merged, the function would still be placed in both tables and all the call_indirects would still work.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by spotandjake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants