summaryrefslogtreecommitdiff
path: root/src/wasm-debug.h
diff options
context:
space:
mode:
authorBrendan Dahl <brendan.dahl@gmail.com>2023-01-20 10:37:36 -0800
committerGitHub <noreply@github.com>2023-01-20 10:37:36 -0800
commited3bf4f0613a66496342720d82f4100eccf39403 (patch)
tree0b779ca1a4b8f92bd9905ccb860eb7c8e1296ed2 /src/wasm-debug.h
parent992584fadfdd1714aeb8ff64e7e8cd7ca3ff3326 (diff)
downloadbinaryen-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