Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preserve the function table during early gc passes
Recent refactorings of wasm-bindgen have inserted multiple `gc` passes executed by walrus. In these passes though the function table was being removed a bit too aggressively because it's not exported by LLD and it's only later that we realize we need to export it. To handle this case we add synthetic and temporary exports of the function table and these exports are removed just after the GC pass in question. Closes #1603
- Loading branch information