diff options
author | Thomas Lively <tlively@google.com> | 2023-08-23 13:56:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-23 11:56:54 -0700 |
commit | f6867f9a485c125dcd2914f58e2636f01879db7b (patch) | |
tree | 07f976ce0d417dc2f7280e53e7a1623d6607bebb /test/lit/array-init-static.wast | |
parent | 1cd3cff4820222901eaa015fd2d7b0b4b5b7fc3e (diff) | |
download | binaryen-f6867f9a485c125dcd2914f58e2636f01879db7b.tar.gz binaryen-f6867f9a485c125dcd2914f58e2636f01879db7b.tar.bz2 binaryen-f6867f9a485c125dcd2914f58e2636f01879db7b.zip |
Fix assertion failure in RemoveUnusedBrs (#5895)
The improvements to RemoveUnusedBrs in #5887 also introduced a regression where
the pass did not correctly handle unreachable fallthrough values and crashed
with an assertion failure. Fix the problem by returning early when a fallthrough
value is unreachable and add a regression test.
Fixes #5892.
Diffstat (limited to 'test/lit/array-init-static.wast')
0 files changed, 0 insertions, 0 deletions