mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
a60ecea16a
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. |
||
---|---|---|
.. | ||
AbstractMachine | ||
Parser | ||
Printer | ||
Tests | ||
WASI | ||
CMakeLists.txt | ||
Constants.h | ||
Forward.h | ||
Opcode.h | ||
Types.h | ||
Wasi.h |