mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 17:31:58 -05:00
7c96d9a96d
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. (cherry picked from commit a60ecea16abe62aae988ba877fdb98466d2919d3) |
||
---|---|---|
.. | ||
AK | ||
ClangPlugins | ||
JSSpecCompiler | ||
Kernel | ||
LibAudio | ||
LibC | ||
LibCompress | ||
LibCore | ||
LibCpp | ||
LibCrypto | ||
LibDeviceTree | ||
LibDiff | ||
LibEDID | ||
LibELF | ||
LibGfx | ||
LibGL | ||
LibGLSL | ||
LibHTTP | ||
LibIMAP | ||
LibJS | ||
LibLocale | ||
LibMarkdown | ||
LibMedia | ||
LibPDF | ||
LibRegex | ||
LibSemVer | ||
LibShell | ||
LibSQL | ||
LibTest | ||
LibTextCodec | ||
LibThreading | ||
LibTimeZone | ||
LibTLS | ||
LibTTF | ||
LibUnicode | ||
LibURL | ||
LibWasm | ||
LibWeb | ||
LibWebView | ||
LibXML | ||
Spreadsheet | ||
Utilities | ||
CMakeLists.txt |