mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-12 01:46:46 +02:00
After off-thread script or module compilation hands top-level bytecode back to the main thread, clone the remaining lazy function payloads and compile them on the thread pool. Install completed bytecode only when the function is still lazy. If the main thread compiled it first, discard the stale result and schedule another pass over that executable so nested lazy payloads still move to bytecode.
60 KiB
60 KiB