diff options
author | Brendan Dahl <brendan.dahl@gmail.com> | 2023-01-20 10:37:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-20 10:37:36 -0800 |
commit | ed3bf4f0613a66496342720d82f4100eccf39403 (patch) | |
tree | 0b779ca1a4b8f92bd9905ccb860eb7c8e1296ed2 /src/wasm-debug.h | |
parent | 992584fadfdd1714aeb8ff64e7e8cd7ca3ff3326 (diff) | |
download | binaryen-ed3bf4f0613a66496342720d82f4100eccf39403.tar.gz binaryen-ed3bf4f0613a66496342720d82f4100eccf39403.tar.bz2 binaryen-ed3bf4f0613a66496342720d82f4100eccf39403.zip |
Support using JSPI to load the secondary wasm split module. (#5431)
When using JSPI with wasm-split, any calls to secondary module functions
will now first check a global to see if the module is loaded. If not
loaded it will call a JSPI'ed function that will handle loading module.
The setup is split into the JSPI pass and wasm-split tool since the JSPI
pass is first run by emscripten and we need to JSPI'ify the load secondary
module function. wasm-split then injects all the checks and calls to the
load function.
Diffstat (limited to 'src/wasm-debug.h')
0 files changed, 0 insertions, 0 deletions