diff options
author | Alon Zakai <azakai@google.com> | 2023-06-06 17:15:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-06 17:15:29 -0700 |
commit | c70c0da85b689a7be23292731aa9bdc4ab22285e (patch) | |
tree | 4408286eface0bf986ddbc751df3baf3726e2173 /src/wasm-traversal.h | |
parent | 7b093e8d0cfe09471aed4eb40c093f0603f11efb (diff) | |
download | binaryen-c70c0da85b689a7be23292731aa9bdc4ab22285e.tar.gz binaryen-c70c0da85b689a7be23292731aa9bdc4ab22285e.tar.bz2 binaryen-c70c0da85b689a7be23292731aa9bdc4ab22285e.zip |
[NFC] Remove redundant code from EffectAnalyzer (#5754)
This PR removes a check for
transfersControlFlow() && other.trap
which is already checked higher up in the code, here:
transfersControlFlow() && other.hasSideEffects()
In
binaryen/src/ir/effects.h , lines 223 to 224
That last code handles the first code because trapping is part
of hasSideEffects().
Diffstat (limited to 'src/wasm-traversal.h')
0 files changed, 0 insertions, 0 deletions