diff options
author | Alon Zakai <azakai@google.com> | 2023-04-04 13:38:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-04 13:38:14 -0700 |
commit | d7c24bc6796616b821b6b0dfcd649dbf1c821cb3 (patch) | |
tree | 105a556e0853b45669e18a16c45cbfe07df0b150 /src/wasm-binary.h | |
parent | ce2fc9c7cd5158a64631baeda53dac2571038d5f (diff) | |
download | binaryen-d7c24bc6796616b821b6b0dfcd649dbf1c821cb3.tar.gz binaryen-d7c24bc6796616b821b6b0dfcd649dbf1c821cb3.tar.bz2 binaryen-d7c24bc6796616b821b6b0dfcd649dbf1c821cb3.zip |
[Wasm GC] Fuzz struct.new and array.new (#5622)
Repurpose makeBasicRef, makeCompoundRef to generate not just "constant"
refs but any reference, and use those to create StructNew/ArrayNew.
The key changes are to add makeCompoundRef to make(), and to make
the function call make() for children, where possible, instead of just
makeTrivial(). We also replace the i31-specific path with a call to
makeBasicRef which handles i31 among other things.
Diffstat (limited to 'src/wasm-binary.h')
0 files changed, 0 insertions, 0 deletions