• Michael Achenbach's avatar
    Revert "[async-iteration] implement spec-change to `yield` in async generators" · 2d79d2c3
    Michael Achenbach authored
    This reverts commit 409f84c9.
    
    Reason for revert: Breaks nosnap debug:
    https://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20nosnap%20-%20debug/builds/14288
    
    Original change's description:
    > [async-iteration] implement spec-change to `yield` in async generators
    > 
    > Per https://github.com/tc39/proposal-async-iteration/pull/102/files:
    > 
    > AsyncGeneratorResolve no longer unwraps a value component. Instead, the
    > value is unwrapped before the builtin call via Await, allowing Promise
    > rejections to affect the generator control flow.
    > 
    > Thus, all `yield <expr>` implicitly become `yield await <expr>`.
    > 
    > Additionally, `return <expr>` becomes `return await <expr>`. Finally, when
    > the generator is resumed with `.return()`, the parameter passed to .return()
    > is awaited before generator execution properly continues).
    > 
    > BUG=v8:5855
    > R=​littledan@chromium.org, neis@chromium.org, adamk@chromium.org
    > 
    > Cq-Include-Trybots: master.tryserver.v8:v8_linux_noi18n_rel_ng
    > Change-Id: Ife084076c3ed434b5467e6aeba14082f8b410ad5
    > Reviewed-on: https://chromium-review.googlesource.com/523844
    > Commit-Queue: Caitlin Potter <caitp@igalia.com>
    > Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
    > Reviewed-by: Georg Neis <neis@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#47011}
    
    TBR=rmcilroy@chromium.org,adamk@chromium.org,yangguo@chromium.org,neis@chromium.org,littledan@chromium.org,gsathya@chromium.org,caitp@igalia.com
    
    Change-Id: Ie6ad7e5410a3a89aab7a5dc68de36eb27b9354fe
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: v8:5855
    Cq-Include-Trybots: master.tryserver.v8:v8_linux_noi18n_rel_ng
    Reviewed-on: https://chromium-review.googlesource.com/593952Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
    Commit-Queue: Michael Achenbach <machenbach@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#47013}
    2d79d2c3
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
gypfiles Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...