wasm-merge call_indirect #5782
-
with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Here's the scheme I would expect such languages to follow: If module |
Beta Was this translation helpful? Give feedback.
Here's the scheme I would expect such languages to follow: If module
A
wants tocall_indirect
a function from moduleB
, thenA
would import the function fromB
and put it inA
's table. Separately, moduleB
might also put the function inB
's table for its own use. When modulesA
andB
are merged, the function would still be placed in both tables and all thecall_indirect
s would still work.