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. |
||
|---|---|---|
| .. | ||
| asmint.asm | ||
| AsmInterpreter.cpp | ||
| AsmInterpreter.h | ||
| gen_asm_offsets.cpp | ||