summaryrefslogtreecommitdiff
path: root/test/wasm2js/refs.2asm.js
Commit message (Collapse)AuthorAgeFilesLines
* Remove AutoDrop (#7106)Thomas Lively2024-11-221-2/+2
| | | | The only internal use was in wasm2js, which doesn't need it. Fix API tests to explicitly drop expressions as necessary.
* wasm2js: Fix the names of temp vars with named reference types (#6689)Alon Zakai2024-06-211-1/+9
| | | | | | We were missing code to mangle such names for JS. Without that, the name of a temp var for the type `(ref $foo)` would end up with `(`, `)` in the name, which is not valid in JS.
* wasm2js: Support arbitrary temp variable types (#6661)Alon Zakai2024-06-171-1/+14
| | | | | | | | Previously only basic types were allowed. Generalizing this to arbitrary types means we use a map instead of a vector, which is slower, but I can't measure any noticeable difference. Temp vars are pretty rare, and there are just much slower parts of wasm2js, I think.
* wasm2js: Generalize global initializer code to use the main codegen logic ↵Alon Zakai2024-06-131-1/+11
| | | | | | | (#6659) This avoids special-casing particular global init forms. After this we should support everything in global inits that we support anywhere else.
* wasm2js: Fix null handling and RefAsNonNull (#6656)Alon Zakai2024-06-121-1/+19
|
* wasm2js: Add basic reference operations (#6648)Alon Zakai2024-06-101-0/+44
This adds ref.eq, ref.null, ref.is_null, ref.func.