binaryen
binaryen copied to clipboard
Optimizer and compiler/toolchain library for WebAssembly
### Description We encountered a SIGABRT (Assertion Failure) in wasm-opt. The crash triggers when parsing a malformed WebAssembly binary containing a br_on instruction. The assertion isRef() fails within wasm::Type::getHeapType(), which...
DAE can be slow because it performs several rounds of interleaved analysis and optimization. On top of this, the analysis it performs is not as precise as it could be...
Rather than recompute the entire map of Call instructions to each target, keep it around between iterations, and just update the changed part. This requires us to track the origin...
Some of Yew's example crates (but not all) fail to build in our binary size comparison CI because of wasm-opt https://github.com/yewstack/yew/actions/runs/19726188911/job/56517994922?pr=3949#step:9:676 ``` [parse exception: duplicate export name (at 0:8529)] Fatal:...
This implements the feature across the toolchain by adding the page size as an attribute of the memory instead of a constant. I added the tests from the proposal repo...
The current support for source maps does not allow decoding stack traces in a way that preserves inlined frames. This is problematic as a stack trace from production may not...
`Literal` will use `std::sqrt` to calculate `f32.sqrt` and `f64.sqrt`. It cause output wasm different when we build in arm64 and x64.
Resolves #7317
Prototype implementation of the new multibyte array proposal that reuses the existing memory instructions. The syntax for the new instructions is as follows: .store type=array Some spec related TODOs: -...