diff options
author | Alon Zakai <azakai@google.com> | 2019-11-26 15:22:04 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-26 15:22:04 -0800 |
commit | ec53d11e0792884e1125fe5a1a437a5eff260259 (patch) | |
tree | 0ebeab40cade82309507aceab7f810e9a37929fb /src/wasm-binary.h | |
parent | 7665f703f4e3437564be25ae276e1daaedd98d79 (diff) | |
download | binaryen-ec53d11e0792884e1125fe5a1a437a5eff260259.tar.gz binaryen-ec53d11e0792884e1125fe5a1a437a5eff260259.tar.bz2 binaryen-ec53d11e0792884e1125fe5a1a437a5eff260259.zip |
Refactor and optimize binary writing type collection (#2478)
Create a new ParallelFunctionAnalysis helper, which lets us
run in parallel on all functions and collect info from them,
without manually handling locks etc.
Use that in the binary writing code's type collection logic,
avoiding a lock for each type increment.
Also add Signature printing which was useful to debug this.
Diffstat (limited to 'src/wasm-binary.h')
0 files changed, 0 insertions, 0 deletions