diff options
author | Thomas Lively <tlively@google.com> | 2023-01-04 11:34:30 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-04 17:34:30 +0000 |
commit | 85e5d52e860adf1fa149b731ace79c9ea88b1bd2 (patch) | |
tree | 05d89188bce36ef6a0767a4c3d4f6b36980325e2 /test/wasm2js/func-ptr-offset.2asm.js | |
parent | 248f05ad7d44ff8fa4d0623baa988396d99d3b5a (diff) | |
download | binaryen-85e5d52e860adf1fa149b731ace79c9ea88b1bd2.tar.gz binaryen-85e5d52e860adf1fa149b731ace79c9ea88b1bd2.tar.bz2 binaryen-85e5d52e860adf1fa149b731ace79c9ea88b1bd2.zip |
Allow non-nullable ref.cast of nullable references (#5386)
This new cast configuration was not expressible with the legacy cast
instructions. Although it is valid in Wasm, do not allow nullable casts of
non-nullable references, since those would unnecessarily lose type information.
Convert such casts to be non-nullable during expression finalization.
Diffstat (limited to 'test/wasm2js/func-ptr-offset.2asm.js')
0 files changed, 0 insertions, 0 deletions