ladybird/Libraries/LibWasm
Andreas Kling 716ab93c1a LibWasm: Block while waiting for Cranelift compilation
The background Cranelift pass can race with the first call into a
module. In that case ensure_cranelift_compiled() waited by repeatedly
polling the module state and burning CPU until the compiler thread
finished.

Keep the atomic state for the completed fast path, but pair the
compiling state with a condition variable. Completion now broadcasts
while holding the associated mutex, so waiting callers sleep and cannot
miss the transition to finished.
2026-06-04 00:15:26 +02:00
..
AbstractMachine LibWeb+LibWasm: Don't wait for JIT-compilation of wasm modules 2026-06-03 11:51:43 +02:00
Parser LibWasm: Store try_table catches out of line 2026-05-14 12:19:38 +02:00
Printer LibWasm: Store try_table catches out of line 2026-05-14 12:19:38 +02:00
Rust LibWasm: Handle traps emitted from cranelift 2026-06-03 11:51:43 +02:00
Tests LibWasm: Fix “return” leaking intermediate value-stack entries to caller 2026-05-25 09:00:44 +02:00
WASI LibWasm: Split parameters from locals 2026-02-02 14:11:49 +01:00
CMakeLists.txt LibWasm: Block while waiting for Cranelift compilation 2026-06-04 00:15:26 +02:00
Constants.h LibWasm: Parse and validate array types 2026-02-10 13:00:16 +01:00
CraneliftBridge.cpp LibWasm: Handle traps emitted from cranelift 2026-06-03 11:51:43 +02:00
CraneliftStubs.cpp LibWasm: Correctly handle failed validation 2026-06-03 11:51:43 +02:00
Forward.h LibWasm: Prepare for VM and direct function calls 2026-05-10 16:41:42 +02:00
Opcode.h LibWasm: Store opcodes in 32 bits 2026-05-14 12:19:38 +02:00
Types.h LibWasm: Block while waiting for Cranelift compilation 2026-06-04 00:15:26 +02:00
Wasi.h Everywhere: Slap some [[clang::lifetimebound]] where appropriate 2025-09-01 11:11:38 +02:00