summaryrefslogtreecommitdiff
path: root/src/wasm/literal.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2022-07-29 12:12:41 -0700
committerGitHub <noreply@github.com>2022-07-29 12:12:41 -0700
commit5a7efea5a6bdaf97ebaa5450811689b348cf28ea (patch)
treeb2c6ed7d2fd12cdf134c1e09e95d5f44d612ef6e /src/wasm/literal.cpp
parenteb157d230c68cdc91c9da8841a53a80246f345d7 (diff)
downloadbinaryen-5a7efea5a6bdaf97ebaa5450811689b348cf28ea.tar.gz
binaryen-5a7efea5a6bdaf97ebaa5450811689b348cf28ea.tar.bz2
binaryen-5a7efea5a6bdaf97ebaa5450811689b348cf28ea.zip
[NFC] wasm-reduce: Avoid wasted work on drops (#4850)
It was wasted work to see a drop and then check if we can replace it with a drop of its child, which is identical to the original state. This didn't cause any harm (we'd not reduce code size, and stop eventually) but it did slow us down.
Diffstat (limited to 'src/wasm/literal.cpp')
0 files changed, 0 insertions, 0 deletions