ladybird/Userland/Libraries/LibWasm/AbstractMachine
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.cpp LibWasm+LibWeb+test-wasm: Refcount Wasm::Module for function references 2024-08-22 09:36:40 +02:00
AbstractMachine.h LibWasm+LibWeb+test-wasm: Refcount Wasm::Module for function references 2024-08-22 09:36:40 +02:00
BytecodeInterpreter.cpp LibWasm+LibWeb+test-wasm: Refcount Wasm::Module for function references 2024-08-22 09:36:40 +02:00
BytecodeInterpreter.h LibWasm: Make BytecodeInterpreter overrides final 2024-08-20 12:01:43 +02:00
Configuration.cpp LibWasm+LibWeb: Allow tables to have externrefs in the JS API 2024-08-18 23:35:02 +02:00
Configuration.h LibWasm: Split main interpreter stack into three 2024-08-07 01:10:20 +02:00
Interpreter.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Operators.h LibWasm: Fix SIMD shuffle and swizzle 2024-07-24 23:23:09 +02:00
Validator.cpp LibWasm: Clean up module sections API 2024-08-01 11:44:07 +02:00
Validator.h LibWasm: Replace a hashtable with an RBTree to make instantiation faster 2024-07-18 14:54:50 +02:00