diff options
author | Alon Zakai <azakai@google.com> | 2021-07-23 11:48:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-23 11:48:26 -0700 |
commit | 015d9f9dab116985fad1090f96e83ee71f036a6d (patch) | |
tree | ea4224c0d0295602f2ea49a6ddc05ddc4369bfe7 /src/passes/LocalSubtyping.cpp | |
parent | 501259b4695ad6aaf42ce3f8875c3b8177ef756d (diff) | |
download | binaryen-015d9f9dab116985fad1090f96e83ee71f036a6d.tar.gz binaryen-015d9f9dab116985fad1090f96e83ee71f036a6d.tar.bz2 binaryen-015d9f9dab116985fad1090f96e83ee71f036a6d.zip |
Clean up and rewrite wasm-reduce element segment logic (#4015)
Practically NFC, but it does reorder some code a little. Previously we would
find a "zero", then shrink segments, then use that zero - which might no
longer be in the table. That seems weird, so this reorders that, but there
should be no significant difference in the output.
Also reduce the factor of 100 to 1, which in practice is important on one of
the Dart GC benchmarks that has a huge number of table segments.
Diffstat (limited to 'src/passes/LocalSubtyping.cpp')
0 files changed, 0 insertions, 0 deletions