diff options
author | Alon Zakai <azakai@google.com> | 2021-11-08 16:23:09 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-09 00:23:09 +0000 |
commit | ed4d22e22414a561e5b5af0064a3a47fc8db1645 (patch) | |
tree | 9c870d4aad45345773936fb61270f19889b539da /test/exception-handling.wast.fromBinary.noDebugInfo | |
parent | b604ad935d1adc8498872e8afdb18df2f9b3b572 (diff) | |
download | binaryen-ed4d22e22414a561e5b5af0064a3a47fc8db1645.tar.gz binaryen-ed4d22e22414a561e5b5af0064a3a47fc8db1645.tar.bz2 binaryen-ed4d22e22414a561e5b5af0064a3a47fc8db1645.zip |
Effects.h: Fix RefAs (#4312)
We marked that as only trapping if the input as nullable. But ref.as_func
will trap if it isn't a func, for example.
We could in theory try to check if a trap is possible, like checking if the
input is already non-nullable or already a function, etc., but we have
optimization passes to get rid of RefAs when they are not needed
anyhow, so there is no point to duplicate that here.
Diffstat (limited to 'test/exception-handling.wast.fromBinary.noDebugInfo')
0 files changed, 0 insertions, 0 deletions