binaryen
binaryen copied to clipboard
Optimizer and compiler/toolchain library for WebAssembly
The [Binaryen.js repo](https://github.com/AssemblyScript/binaryen.js) seems to not be active for at least a year. PRs are not reviewed, issues are not answered, no recent commits, only automatic ones. Are there any...
Embind port
For https://github.com/WebAssembly/binaryen/discussions/6225 Basic stuff works, but I am having trouble with the return policy @brendandahl I am doing ```cpp #define DELEGATE_FIELD_NAME_VECTOR(id, field) \ .property(#field, &id::field, return_value_policy::reference()) ``` Reference is what...
Given the following code: ```webassembly (module (import "External" "external_function" (func $external_function)) (func $foo (result i32) i32.const 0 i32.load) (func $_start (param $0 i32) (param $1 i64) (param $2 i32) (local...
- BinaryenStringIterNext - BinaryenStringIterMove - BinaryenStringSliceIter - BinaryenStringNewSetTry - BinaryenStringWTF8Advance My FFI tooling breaks on those. Looks like there's no implementation, just declaration. Am I missing some compilation flags? I've...
This is the space that could be saved by using custom descriptors.
Chrome and Edge DevTools can capture heap snapshots, which are JSON representations of the entire object graph at a moment in time. Add a pass that can parse such a...
Given the following code: ```webassembly (module (import "External" "external_function" (func $external_function)) (func $_start (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (local $4 i64) (local $5...
Currently, `wasm-opt` cannot deduce the following code to zero because the children have side effects. However, performing the deduction while preserving the side effects is acceptable. ``` webassembly (i32.ne (local.tee...
Given the following code: ```webassembly (module (import "External" "external_function" (func $external_function)) (func $_start (result i32) (local i32 i32 i32 i32 i32 i32 i32 i32 i32) call $foo local.set 1 i32.const...
Given the following code: ```webassembly (module (import "External" "external_function" (func $external_function)) (func $_start (param $0 i64) (param $1 i32) (param $2 i32) (param $3 i32) (local $4 i32) (local $5...