diff options
author | Alon Zakai <azakai@google.com> | 2022-07-25 12:47:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-25 19:47:44 +0000 |
commit | 68e2ed11e86e72cc4e12a1b4026ef19d5149fda9 (patch) | |
tree | ad4ee672468c5fdf41be4bb612e070de66c27a5b /src/tools/wasm-split/split-options.cpp | |
parent | 2db1e13f731e22fe53fbfebef6e4a15c043a587e (diff) | |
download | binaryen-68e2ed11e86e72cc4e12a1b4026ef19d5149fda9.tar.gz binaryen-68e2ed11e86e72cc4e12a1b4026ef19d5149fda9.tar.bz2 binaryen-68e2ed11e86e72cc4e12a1b4026ef19d5149fda9.zip |
[Wasm GC] Properly represent nulls in i31 (#4819)
The encoding here is simple: we store i31 values in the literal.i32
field. The top bit says if a value exists, which means literal.i32 == 0 is the
same as null.
Diffstat (limited to 'src/tools/wasm-split/split-options.cpp')
0 files changed, 0 insertions, 0 deletions