diff options
author | Alon Zakai <azakai@google.com> | 2024-11-20 16:40:29 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-20 16:40:29 -0800 |
commit | 45d8f24ad36562939bed14b2157fd5bb51c396bc (patch) | |
tree | 083da4d832c8ebad4c88bd145e50505129e34539 /src/js/binaryen.js-post.js | |
parent | c18159e35aef7a202ceb7c80b2a354101a2830d7 (diff) | |
download | binaryen-45d8f24ad36562939bed14b2157fd5bb51c396bc.tar.gz binaryen-45d8f24ad36562939bed14b2157fd5bb51c396bc.tar.bz2 binaryen-45d8f24ad36562939bed14b2157fd5bb51c396bc.zip |
[NFC] Refactor nice methods in fuzz_shell.js (#7096)
This mostly moves the code around and avoids some duplication. It
also tracks the list of exports with both names and values, so that
if we compile more than one module, we can still access exports
from the previous.
Also add a first test of running fuzz_shell.js in node.
This does make build() append the exports, which was done before
on the main module but not the second one. That only affects the
wasm-split fuzzer, which is not active yet, so this is still NFC.
Diffstat (limited to 'src/js/binaryen.js-post.js')
0 files changed, 0 insertions, 0 deletions