ladybird/Userland/Libraries/LibWasm
Ali Mohammad Pur a60ecea16a LibWasm+LibWeb+test-wasm: Refcount Wasm::Module for function references
Prior to funcref, a partial chunk of an invalid module was never needed,
but funcref allows a partially instantiated module to modify imported
tables with references to its own functions, which means we need to keep
the second module alive while that function reference is present within
the imported table.
This was tested by the spectests, but very rarely caught as our GC does
not behave particularly predictably, making it so the offending module
remains in memory just long enough to let the tests pass.

This commit makes it so all function references keep their respective
modules alive.
2024-08-22 09:36:40 +02:00
..
AbstractMachine LibWasm+LibWeb+test-wasm: Refcount Wasm::Module for function references 2024-08-22 09:36:40 +02:00
Parser LibWasm+LibWeb+test-wasm: Refcount Wasm::Module for function references 2024-08-22 09:36:40 +02:00
Printer LibWasm: Remove type information from Value 2024-08-07 01:10:20 +02:00
Tests Meta+LibWasm: Add support for module linking tests 2021-06-22 00:26:25 +04:30
WASI LibWasm+LibWeb: Allow tables to have externrefs in the JS API 2024-08-18 23:35:02 +02:00
CMakeLists.txt Meta: Remove SerenityOS-specific WASM test installer 2024-06-24 09:45:41 -06:00
Constants.h LibWasm+LibWeb: Parse and validate all Wasm SIMD instructions 2023-08-21 13:39:32 +03:30
Forward.h LibWasm: Start implementing WASI 2023-04-26 03:47:15 +03:30
Opcode.h LibWasm: Flatten instructions in one continuous loop during parsing 2024-07-25 12:16:45 +02:00
Types.h LibWasm+LibWeb+test-wasm: Refcount Wasm::Module for function references 2024-08-22 09:36:40 +02:00
Wasi.h LibWasm/WASI: Make the premapped stdio files configurable 2024-07-18 14:54:50 +02:00