binaryen icon indicating copy to clipboard operation
binaryen copied to clipboard

Optimizer and compiler/toolchain library for WebAssembly

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

Hi, following-up on issue #6145 and PR #6175 This is a first iteration, that already covers all features of index.d.ts in binaryen.ts repo, plus a few additions: TypeBuilder and minimal...

Hi, I'm compiling a `x++` like expression, which requires returning the value of a local before it is incremented. The generated wasm looks like this: ``` (block (result i32) (local.get...

iiuc, delegate is allowed to target any type of block. from the overview of the old EH proposal: > `delegate` can also target `catch`-less `try`s or non-`try` block constructs >...

I receive a parse error using `wasm-opt` v116. The error reports the issue 'attempted pop from empty stack / beyond block start boundary', however the stack is non-empty. The same...

We could simplify the output of MemoryPacking under TNH by not emitting the globals that track dropped segments or the code that checks those globals.

Hi developers, I am incorporating Binaryen as third-party library into my fuzzing framework. In short, Binaryen is used to parse input Wasm module, do some mutation and generation work and...

Originally reported as https://github.com/WebAssembly/gc/issues/510 This test case should fail validation with `type mismatch: expression has type (ref any) but expected eqref`. FWIW, Firefox, `wasmparser`, and the reference interpreter all give...

**You can download binaries of wasm-opt that support fwasm-exceptions and Asyncify [here](https://github.com/caiiiycuk/binaryen-fwasm-exceptions/releases).** Replace `emsdk/upstream/bin/wasm-opt` with downloaded version and then you can use -fwasm-exceptions with Asyncify. -- Hi. This PR does...

I have code snippets like ``` wasm i32.const 1 i32.and i32.eqz br_if 1 (;@1;) ``` which could be optimised to ``` wasm i32.ctz br_if 1 (;@1;) ``` Similar analogous transformations:...

This is an alternative to #6192 in which Binaryen removes the JS wrapper and exports the functions needed by implementers. This helps in that the JS wrapper is not useful...