ladybird/Libraries/LibJS/Bytecode/AsmInterpreter
Andreas Kling 790386e114 LibJS: Preserve Promise job ordering across calls
Only drain the standalone Promise job queue when unwinding the outermost
bytecode execution. Draining after every nested run_executable() return
let sibling Promise reactions run before current-job reactions.

Plain async function returns were relying on that extra drain because
return values were compiled as implicit awaits. Resolve completed async
functions through the Promise resolving function instead, while keeping
the async generator return-await path.

Add Promise ordering coverage and update the asm inline-call regression
to check the pre-drain state.
2026-05-22 01:56:57 +02:00
..
asmint.asm LibJS: Preserve Promise job ordering across calls 2026-05-22 01:56:57 +02:00
AsmInterpreter.cpp LibJS: Preserve resolved assignment bindings 2026-05-22 01:56:57 +02:00
AsmInterpreter.h LibJS: Move bytecode interpreter state to VM 2026-04-13 18:29:43 +02:00
gen_asm_offsets.cpp LibJS: Yield delegated iterator results directly 2026-05-22 01:56:57 +02:00