summaryrefslogtreecommitdiff
path: root/src/ir/possible-contents.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2023-01-06 17:53:54 -0600
committerGitHub <noreply@github.com>2023-01-06 23:53:54 +0000
commitdea55e161497b9c7beaaa9fb3cdff003060ac391 (patch)
tree9ce352adc9201dcc2fd30b398e4fb7ba8eeb1a44 /src/ir/possible-contents.cpp
parent54b1cf9025f5564c49dba730dc9fe6600aa7d532 (diff)
downloadbinaryen-dea55e161497b9c7beaaa9fb3cdff003060ac391.tar.gz
binaryen-dea55e161497b9c7beaaa9fb3cdff003060ac391.tar.bz2
binaryen-dea55e161497b9c7beaaa9fb3cdff003060ac391.zip
Fix a bug optimizing out br_on_cast (#5403)
We were considering casts between unrelated types as unconditionally failing, but in the case where the unrelated types are nullable, the cast could still succeed if the value is null. This bug was introduced in #5397.
Diffstat (limited to 'src/ir/possible-contents.cpp')
0 files changed, 0 insertions, 0 deletions