diff options
author | Alon Zakai <azakai@google.com> | 2021-08-24 13:41:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-24 13:41:39 -0700 |
commit | 0a6de1700938c419d0e549232c35a56c5718be2c (patch) | |
tree | a1be1439d2e370eac3bf30a9e3772deb524cd3ab /src/compiler-support.h | |
parent | a2323f2cfd90089c54100ab98c439b9438cc4dc1 (diff) | |
download | binaryen-0a6de1700938c419d0e549232c35a56c5718be2c.tar.gz binaryen-0a6de1700938c419d0e549232c35a56c5718be2c.tar.bz2 binaryen-0a6de1700938c419d0e549232c35a56c5718be2c.zip |
OptimizeInstructions: Handle trivial ref.cast and ref.test (#4097)
If the types are completely incompatible, we know the cast will fail. However,
ref.cast does allow a null to pass through, which makes it a little more
complicated.
Diffstat (limited to 'src/compiler-support.h')
0 files changed, 0 insertions, 0 deletions