Skip to content

Releases: WebAssembly/binaryen

version_76

05 Apr 23:30
fc13d0f
Compare
Choose a tag to compare
Add feature options to emscripten metadata (#1982)

Emscripten runs wasm-emscripten-finalize before running wasm-opt, so the target features section is stripped out before optimizations are run. One option would have been to add another wasm-opt invocation at the very end to strip the target features section, but dumping the features as metadata avoids the extra tool invocation. In the long run, it would be nice to have only as single binaryen invocation to do all the work that needs doing.

version_75

05 Apr 20:40
2129cef
Compare
Choose a tag to compare
wasm-emscripten-finalize: add namedGlobals to output metadata (#1979)

This key is used by emscripten when building with MAIN_MODULE in order
to export global variables from the main module to the side modules.

version_74

02 Apr 18:40
Compare
Choose a tag to compare
Add Windows binary releases through AppVeyor (#1700)

This commit tweaks the AppVeyor configuration to publish 64 and 32-bit
artifacts as part of the normal release builds. Configuration was also
added to be sure to compile code with `/MT` on MSVC to ensure that the
released artifacts depend on as few DLLs as possible, hopefully making
them as portable as possible.

cc #1695

1.38.30: Discover and run unit tests from check.py (#1948)

21 Mar 14:00
fe0b16a
Compare
Choose a tag to compare
unittest is Python's standard testing framework, so this change allows
arbitrary tests to be written without introducing any new dependencies
or code in check.py. A new test that was not possible to write before
is also included. It is the first of many.

version_73

15 Mar 00:54
d9cdee0
Compare
Choose a tag to compare
Do not erase internal debug into in --strip-producers - the pass was …

1.38.29

12 Mar 01:08
d8bcf64
Compare
Choose a tag to compare
Optimize away sets of the same local (#1940)

version_72

07 Mar 17:51
1a5b410
Compare
Choose a tag to compare
Fix getExitingBranches, which had |targets| instead of |curr->targets…

version_71

01 Mar 19:10
689fe40
Compare
Choose a tag to compare
Consistently optimize small added constants into load/store offsets (…

version_70: Optimize normally with debug info (#1927)

28 Feb 19:21
1a483a2
Compare
Choose a tag to compare
* optimize normally with debug info - some of it may be removed, but that's the price of higher optimization levels, and by optimizing normally in profiling and -g2 etc. builds they are more comparable to normal ones, yielding better data
* copy debug locations automatically in replaceCurrent in wasm-traversal, so optimization passes at least by default will preserve debuggability

version_69: Dead return value elimination in DeadArgumentElimination (#1917)

27 Feb 17:34
c6237e8
Compare
Choose a tag to compare
* Finds functions whose return value is always dropped, and removes the return.
* Run multiple iterations of the pass, as one can enable others.
* Do not run DeadArgumentElimination at all if debug info is present (with these improvements, it became much more likely to destroy debug info).

Saves 2.5% on hello world, because of some simple libc calls.