summaryrefslogtreecommitdiff
path: root/src/wasm-io.h
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-02-08 14:24:23 -0800
committerGitHub <noreply@github.com>2023-02-08 22:24:23 +0000
commitb291900ec5448f6eaf04076586a64e4cbc6a0e02 (patch)
treee2a3c389d3c85258c30eb02fbc90408da1403c5d /src/wasm-io.h
parentcfda51c6c87267a7f42a28165bc8cce43f41621e (diff)
downloadbinaryen-b291900ec5448f6eaf04076586a64e4cbc6a0e02.tar.gz
binaryen-b291900ec5448f6eaf04076586a64e4cbc6a0e02.tar.bz2
binaryen-b291900ec5448f6eaf04076586a64e4cbc6a0e02.zip
[Wasm GC] Optimize casts to bottom types (#5484)
A cast to a non-nullable null (an impossible type) must trap. In traps-never-happen mode, a cast that either returns a null or traps will definitely return a null. Followup to #5461 which emits casts to bottom types.
Diffstat (limited to 'src/wasm-io.h')
0 files changed, 0 insertions, 0 deletions