binaryen icon indicating copy to clipboard operation
binaryen copied to clipboard

Optimizer and compiler/toolchain library for WebAssembly

Results 356 binaryen issues
Sort by recently updated
recently updated
newest added

Hi @kripken & @sbc100 ! As promised in #4884, this is split off into it's own PR. For it to have any effect, though, it still depends on avoiding the...

Hi all, as mentioned in #4165, a small (but insignificant in the grand scheme of things) performance improvement can be gained from avoiding the exception here, since when it gets...

I did some investigation on the speed of compilation. This is getting important because of things like j2cl output which is a 50MB real-world file. Slowest passes: (in `-O3`; note...

`call.without.effects` has a specific form, where the last parameter is a function reference, and that function reference must have the right type for the other parameters if called with them:...

This allows emscripten to move these helper functions from JS library imports to native wasm exports. This change continues to support `getTempRet0/setTempRet0` as imports while we transition emscripten. See https://github.com/emscripten-core/emscripten/pull/17581...

When running the wasm2js's javascript version of the emscripten-compiled WASM of https://github.com/OSGeo/PROJ/blob/c0e2a9a49e01a8167944092a825044a3c5f468b9/src/geodesic.c#L83, that line fails with the following error: ``` Uncaught TypeError: nan is not a function at geod_init (projjs.js:378084:10)...

help wanted
good first bug

This partially fixes https://github.com/emscripten-core/emscripten/issues/16496 With this change, toolchains can specify `__stack_base` and `__stack_end` global variables which the binaryen stack pass uses directly to check against overflows, instead of the pass...

So it lives alongside `update_lit_checks.py` and `update_help_checks.py`

I'm wondering what if we add more shrieked version for binaryen_wasm/js targets? It seems many passes is not useful for general cases and can be excluded from wasm/js targets, which...

Now that "1a" is the final implementation of non-nullable locals in the spec, we should implement it. That approach does have the downside of extra work for tools like Binaryen,...