summaryrefslogtreecommitdiff
path: root/scripts/fuzz_relooper.py
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-07-17 19:35:26 -0400
committerGitHub <noreply@github.com>2024-07-17 16:35:26 -0700
commit29746f14b8acd987ae137e2054391fc7afd3b3db (patch)
tree83b45befa174dfa12c31e89330b158d06bf9d899 /scripts/fuzz_relooper.py
parent1434591fbd62f611cc530ed024a1b1477e2e7614 (diff)
downloadbinaryen-29746f14b8acd987ae137e2054391fc7afd3b3db.tar.gz
binaryen-29746f14b8acd987ae137e2054391fc7afd3b3db.tar.bz2
binaryen-29746f14b8acd987ae137e2054391fc7afd3b3db.zip
[threads] Simplify and generalize heap type writing without GC (#6765)
We represent `ref.null`s as having bottom heap types, even when GC is not enabled. Bottom heap types are a feature of the GC proposal, so in that case the binary writer needs to write the corresponding top type instead. We previously had separate logic for this for each type hierarchy in the binary writer, but that did not handle shared types and would not have automatically handled other new types, either. Simplify and generalize the implementation and test that we can write `ref.null`s of shared types without GC enabled.
Diffstat (limited to 'scripts/fuzz_relooper.py')
0 files changed, 0 insertions, 0 deletions