diff options
author | Alon Zakai <azakai@google.com> | 2024-07-18 14:46:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-18 14:46:23 -0700 |
commit | a8066e6618b93ea101e82b64690b9b62d7562609 (patch) | |
tree | 361afaea0cce5ec1f53fcb9bb202b20bc397742a /src/wasm-traversal.h | |
parent | 84daeca1d7bfa805825771611d563920f3ebf846 (diff) | |
download | binaryen-a8066e6618b93ea101e82b64690b9b62d7562609.tar.gz binaryen-a8066e6618b93ea101e82b64690b9b62d7562609.tar.bz2 binaryen-a8066e6618b93ea101e82b64690b9b62d7562609.zip |
Heap2Local: Properly handle failing array casts (#6772)
Followup to #6727 which added support for failing casts in Struct2Local, but it
turns out that it required Array2Struct changes as well. Specifically, when we
turn an array into a struct then casts can look like they behave differently
(what used to be an array input, becomes a struct), so like with RefTest that we
already handled, check if the cast succeeds in the original form and handle
that.
Diffstat (limited to 'src/wasm-traversal.h')
0 files changed, 0 insertions, 0 deletions