Skip to content

Releases: WebAssembly/binaryen

1.37.30: Simplify ThreadPool::isRunning (#1391)

31 Jan 17:21
6bc9700
Compare
Choose a tag to compare
* simplify ThreadPool::isRunning: it doesn't need to be static and to go through the global unique_ptr

* it's undefined behavior to access the threadpool from a shutting down thread, as the parent is being destroyed

1.37.29: Show the binary bytes we can remove without each export, in --func-me…

24 Jan 21:28
9baf87e
Compare
Choose a tag to compare
…trics (#1379)

* show the binary bytes we can remove without each export, in --func-metrics

* check start too

version_42: Global optimization fixes (#1360)

17 Jan 23:06
0a9ddae
Compare
Choose a tag to compare
* run dfe at the very end, as it may be more effective after inlining

* optimize reorder-functions

* do a final dfe in asm2wasm after all other opts

* make inlining deterministic: std::atomic<T> values are not zero-initialized

* do global post opts at the end of asm2wasm, and don't also do them in the module builder

* fix function type removing

* don't inline+optimize when preserving debug info

1.37.28: Redundant Set Elimination pass (#1344)

08 Jan 23:58
2372862
Compare
Choose a tag to compare
This optimizes #1343. It looks for stores of a value that is already present in the local, which in particular can remove the initial set to 0 of loops starting at zero, since all locals are initialized to that already. This helps in real-world code, but is not super-common since coalescing means we tend to have assigned something else to it anyhow before we need it to be zero, so this mainly helps in small functions (and running this before coalescing would extend live ranges in potentially bad ways).

1.37.27

24 Dec 16:46
Compare
Choose a tag to compare
README: Add instructions for build with Visual C++ (#1337)

1.37.26

20 Dec 23:58
Compare
Choose a tag to compare
Add getters for various specific expression fields to C/JS (#1332)

version_40: metadce fixes (#1329)

08 Dec 19:14
9c51f2b
Compare
Choose a tag to compare
* ignore missing imports (the wasm may have already had them optimized out)

 * handle segments that hold on to globals (root them, for now, as we can't remove segments)

 * run reorder-functions, as the optimal order may have changed after we dce

* fix global, global init, and segment offset reachability

* fix import rooting and processing - imports may be imported more than once

1.37.24

05 Dec 01:30
Compare
Choose a tag to compare
Fixed compilation in GCC 7 (#1301)

1.37.23: Provide AddImport/AddExport for each element in the C-API (#1292)

28 Nov 18:10
Compare
Choose a tag to compare
* Provide AddImport/AddExport for each element in the C-API

version_39

09 Nov 19:20
1e2528e
Compare
Choose a tag to compare
Build binaryen.js and wasm.js on Travis CI (#1260)