diff options
author | Alon Zakai <azakai@google.com> | 2021-03-01 22:14:58 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-01 14:14:58 -0800 |
commit | 1f0ab5b54850812040b2e9f56a3428aeac54e425 (patch) | |
tree | 19a48e984efb6a821f12da4d627e2fcd653cf593 /test/binaryen.js | |
parent | 101aac786ccffe3714fdcf05437b2b740135b4de (diff) | |
download | binaryen-1f0ab5b54850812040b2e9f56a3428aeac54e425.tar.gz binaryen-1f0ab5b54850812040b2e9f56a3428aeac54e425.tar.bz2 binaryen-1f0ab5b54850812040b2e9f56a3428aeac54e425.zip |
[Wasm GC] Add Names section support for field names (#3589)
Adds support for GC struct fields in the binary format, implementing
WebAssembly/gc#193
No extra tests needed, see the .fromBinary output which shows this working.
This also has a minor fix in the s-parser, we should not always add a name
to the map of index=>name - only if it exists. Without that fix, the binary
emitter would write out null strings.
Diffstat (limited to 'test/binaryen.js')
0 files changed, 0 insertions, 0 deletions