diff options
author | Thomas Lively <tlively@google.com> | 2023-04-06 13:35:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-06 20:35:12 +0000 |
commit | 4f91c6a569614275d906a825d3f495541aa8802d (patch) | |
tree | 26b438a2aeec65e93a219da792b928b7c9c0eece /src/wasm2js.h | |
parent | 6afbc200b57acd1b9111de7729d47fea1d04c5f6 (diff) | |
download | binaryen-4f91c6a569614275d906a825d3f495541aa8802d.tar.gz binaryen-4f91c6a569614275d906a825d3f495541aa8802d.tar.bz2 binaryen-4f91c6a569614275d906a825d3f495541aa8802d.zip |
Implement array.fill, array.init_data, and array.init_elem (#5637)
These complement array.copy, which we already supported, as an initial complete
set of bulk array operations. Replace the WIP spec tests with the upstream spec
tests, lightly edited for compatibility with Binaryen.
Diffstat (limited to 'src/wasm2js.h')
-rw-r--r-- | src/wasm2js.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wasm2js.h b/src/wasm2js.h index c86788e5a..d33e45c4c 100644 --- a/src/wasm2js.h +++ b/src/wasm2js.h @@ -2339,6 +2339,14 @@ Ref Wasm2JSBuilder::processFunctionBody(Module* m, unimplemented(curr); WASM_UNREACHABLE("unimp"); } + Ref visitArrayFill(ArrayFill* curr) { + unimplemented(curr); + WASM_UNREACHABLE("unimp"); + } + Ref visitArrayInit(ArrayInit* curr) { + unimplemented(curr); + WASM_UNREACHABLE("unimp"); + } Ref visitStringNew(StringNew* curr) { unimplemented(curr); WASM_UNREACHABLE("unimp"); |