summaryrefslogtreecommitdiff
path: root/test/binaryen.js/custom-section.js
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-01-06 09:46:59 -0800
committerGitHub <noreply@github.com>2023-01-06 09:46:59 -0800
commit73a1cfcacd028ed7aefe304c2e140cda4068dcb0 (patch)
treefdeefcc7e054af52546609bcdcf2b5874c4ee492 /test/binaryen.js/custom-section.js
parentad38ddefb3728aaef0df69bd265412a38bcfd20d (diff)
downloadbinaryen-73a1cfcacd028ed7aefe304c2e140cda4068dcb0.tar.gz
binaryen-73a1cfcacd028ed7aefe304c2e140cda4068dcb0.tar.bz2
binaryen-73a1cfcacd028ed7aefe304c2e140cda4068dcb0.zip
[Wasm GC] Fix optimizations on ref.cast of null, and optimize to ref.as_non_null (#5398)
We were checking the heap type, but now casts care about the nullability as well. If the nullability is the only problem, that is, the heap type will be fine but we might have a null, we can at least switch a ref.cast (non-null) to a ref.as_non_null.
Diffstat (limited to 'test/binaryen.js/custom-section.js')
0 files changed, 0 insertions, 0 deletions