diff options
author | Alon Zakai <azakai@google.com> | 2020-11-01 12:00:28 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-01 12:00:28 -0800 |
commit | 69367c09b2e26701ff4d99fec0e462c0114aac87 (patch) | |
tree | bfcee1c4be7b4798bea873396b8b7c33b3d24b65 /test/wasm2js/emscripten.2asm.js | |
parent | f1f2843699f5fd7b87dcefe00ce1eb8f72b37465 (diff) | |
download | binaryen-69367c09b2e26701ff4d99fec0e462c0114aac87.tar.gz binaryen-69367c09b2e26701ff4d99fec0e462c0114aac87.tar.bz2 binaryen-69367c09b2e26701ff4d99fec0e462c0114aac87.zip |
RemoveUnusedBrs: Properly check for effects in selectify() (#3310)
Selectify turns an if-else into a select where possible. Previously we abandoned
hope if any part of the if had a side effect. But it's fine for the condition to have a
side effect, so long as moving it to the end doesn't invalidate the arms.
Diffstat (limited to 'test/wasm2js/emscripten.2asm.js')
0 files changed, 0 insertions, 0 deletions