diff options
author | Alon Zakai <azakai@google.com> | 2021-04-21 12:40:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-21 12:40:51 -0700 |
commit | a72f5b7f440a73c23b7f1b0532446584d4da0854 (patch) | |
tree | 6043f4c06c2cb358eb940dfbfc614c0f177069d8 /src/tools/wasm-metadce.cpp | |
parent | b4e96d8dd6fded302b7c6be8a34b0a75773737b6 (diff) | |
download | binaryen-a72f5b7f440a73c23b7f1b0532446584d4da0854.tar.gz binaryen-a72f5b7f440a73c23b7f1b0532446584d4da0854.tar.bz2 binaryen-a72f5b7f440a73c23b7f1b0532446584d4da0854.zip |
[Wasm GC] Fix handleNonDefaultableLocals on tees (#3830)
When we change a local's type, as we do in that method when we
turn a non-nullable (invalid) local into a nullable (valid) one, we must
update tees as well as gets - their type must match the changed
local type, and we must cast them so that their users do not see
a change.
Diffstat (limited to 'src/tools/wasm-metadce.cpp')
0 files changed, 0 insertions, 0 deletions