You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[MERGE #6187@nhat-nguyen] Fix lowering code for ES2018 Async Iteration
Merge pull request #6187 from nhat-nguyen:async
Also took this opportunity to do a bit refactor on how we initialize the `generator` pointer inside `ResumeYieldData`. I think it's cleaner if we do everything in the constructor instead of only setting it in `CallAsyncGenerator`.
Related PR: #5834
// 17. Push genContext onto the execution context stack; genContext is now the running execution context.
559
561
// 18. Resume the suspended evaluation of genContext using completion as the result of the operation that suspended it. Let result be the completion record returned by the resumed computation.
// 19. Assert: result is never an abrupt completion.
563
564
// 20. Assert: When we return here, genContext has already been removed from the execution context stack and callerContext is the currently running execution context.
0 commit comments