summaryrefslogtreecommitdiff
path: root/scripts/wasm2js.js
Commit message (Collapse)AuthorAgeFilesLines
* Fix fuzzer after #5114 (#5117)Sam Clegg2022-10-061-7/+7
| | | Fixes ./scripts/fuzz_opt.py --auto-initial-contents 7044408155933374954
* Remove externref (#4633)Thomas Lively2022-05-041-8/+0
| | | | | | Remove `Type::externref` and `HeapType::ext` and replace them with uses of anyref and any, respectively, now that we have unified these types in the GC proposal. For backwards compatibility, continue to parse `extern` and `externref` and maintain their relevant C API functions.
* [Wasm GC] Add Wasm GC support to InstrumentMemory (#3976)Alon Zakai2021-07-151-2/+76
| | | | | | | | This adds calls to imports around every struct load and store, to note their values, and also to arrays (where it also notes the index). This has been very useful in debugging LowerGC (lowering of Wasm GC to wasm MVP).
* Remove exnref and br_on_exn (#3505)Heejin Ahn2021-01-221-8/+0
| | | This removes `exnref` type and `br_on_exn` instruction.
* wasm2js: override incoming memory's grow method (#3185)Sam Clegg2020-09-301-6/+0
| | | | | | | | | | This will allow for the completely removal of `__growWasmMemory` as a followup. We currently unconditionally generate this function in `generateMemoryGrowthFunction`. See #3180
* wasm2js: Support exported tables (#3152)Sam Clegg2020-09-211-3/+1
|
* Rename anyref to externref to match proposal change (#2900)Jay Phelps2020-06-101-4/+4
| | | | | | | anyref future semantics were changed to only represent opaque host values, and thus renamed to externref. [Chromium](https://bugs.chromium.org/p/v8/issues/detail?id=7748#c360) was just updated to today (not yet released). I couldn't find a Mozilla bugzilla ticket mentioning externref so I don't immediately know if they've updated yet. https://github.com/WebAssembly/reference-types/pull/87
* Add support for reftypes in InstrumentLocals pass (#2375)Heejin Ahn2019-10-101-0/+16
| | | This adds support for anyref and exnref types in InstrumentLocals pass.
* wasm2js2: more fuzzing improvements (#2028)Alon Zakai2019-04-181-0/+99
|
* Fuzz prep for wasm2js (#2022)Alon Zakai2019-04-171-0/+97
Get fuzzing to a runnable state.