diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2021-04-20 12:23:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-20 12:23:37 -0700 |
commit | 82323064aebfdac2b5b3672faf999cc3b5471fe1 (patch) | |
tree | a62a510956f5877afe111b1d077d638c86037eb2 /test/binaryen.js/event.js | |
parent | e651186bbdbd36e775236c23f24f0baef1699101 (diff) | |
download | binaryen-82323064aebfdac2b5b3672faf999cc3b5471fe1.tar.gz binaryen-82323064aebfdac2b5b3672faf999cc3b5471fe1.tar.bz2 binaryen-82323064aebfdac2b5b3672faf999cc3b5471fe1.zip |
Minor wasm-split improvements (#3825)
- Support functions appearing more than once in the table. It turns out we
were assuming and asserting that functions would appear at most once, but we
weren't making use of that assumption in any way.
- Make TableSlotManager::getSlot take a function Name rather than a RefFunc
expression to avoid allocating and leaking unnecessary expressions.
- Add and use a Builder interface for building TableElementSegments to make
them more similar to other module-level items.
Diffstat (limited to 'test/binaryen.js/event.js')
0 files changed, 0 insertions, 0 deletions