summaryrefslogtreecommitdiff
path: root/src/binaryen-c.h
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-06-06 17:15:29 -0700
committerGitHub <noreply@github.com>2023-06-06 17:15:29 -0700
commitc70c0da85b689a7be23292731aa9bdc4ab22285e (patch)
tree4408286eface0bf986ddbc751df3baf3726e2173 /src/binaryen-c.h
parent7b093e8d0cfe09471aed4eb40c093f0603f11efb (diff)
downloadbinaryen-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/binaryen-c.h')
0 files changed, 0 insertions, 0 deletions