Skip to content

Releases: WebAssembly/binaryen

1.37.29

24 Jan 21:28
9baf87e

Choose a tag to compare

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

version_42: Global optimization fixes (#1360)

17 Jan 23:06
0a9ddae

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

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

Choose a tag to compare

README: Add instructions for build with Visual C++ (#1337)

1.37.26

20 Dec 23:58

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

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

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

Choose a tag to compare

* Provide AddImport/AddExport for each element in the C-API

version_39

09 Nov 19:20
1e2528e

Choose a tag to compare

Build binaryen.js and wasm.js on Travis CI (#1260)

1.37.22

11 Oct 18:39

Choose a tag to compare

fix ssaify bug where we failed to update the location of values as we…