• 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
..
regress Loading commit data...
array-concat-array-proto-getter.js Loading commit data...
array-concat-array-proto.js Loading commit data...
array-concat-object-proto-dict-getter.js Loading commit data...
array-concat-object-proto-dict.js Loading commit data...
array-concat-object-proto-generic-dict.js Loading commit data...
array-concat-object-proto.js Loading commit data...
async-for-of-non-iterable.js Loading commit data...
async-from-sync-iterator.js Loading commit data...
async-generators-basic.js Loading commit data...
atomics-value-check.js Loading commit data...
atomics.js Loading commit data...
block-lazy-compile.js Loading commit data...
dataview-accessors.js Loading commit data...
default-parameter-do-expression.js Loading commit data...
do-expressions-control.js Loading commit data...
do-expressions.js Loading commit data...
for-await-of.js Loading commit data...
function-sent.js Loading commit data...
function-tostring.js Loading commit data...
futex.js Loading commit data...
generators-reduced.js Loading commit data...
generators.js Loading commit data...
global-accessors-strict.js Loading commit data...
harmony-string-pad-end.js Loading commit data...
harmony-string-pad-start.js Loading commit data...
import-from-compilation-errored.js Loading commit data...
import-from-evaluation-errored.js Loading commit data...
import-from-fetch-errored.js Loading commit data...
import-from-instantiation-errored.js Loading commit data...
intl-numberformat-formattoparts.js Loading commit data...
module-parsing-eval.js Loading commit data...
modules-import-1.js Loading commit data...
modules-import-10.js Loading commit data...
modules-import-11.js Loading commit data...
modules-import-12.js Loading commit data...
modules-import-13.js Loading commit data...
modules-import-14.js Loading commit data...
modules-import-15.js Loading commit data...
modules-import-2.js Loading commit data...
modules-import-3.js Loading commit data...
modules-import-4.js Loading commit data...
modules-import-5.js Loading commit data...
modules-import-6.js Loading commit data...
modules-import-7.js Loading commit data...
modules-import-8.js Loading commit data...
modules-import-9.js Loading commit data...
modules-skip-1.js Loading commit data...
modules-skip-10.js Loading commit data...
modules-skip-11.js Loading commit data...
modules-skip-12.js Loading commit data...
modules-skip-2.js Loading commit data...
modules-skip-3.js Loading commit data...
modules-skip-4.js Loading commit data...
modules-skip-5.js Loading commit data...
modules-skip-6.js Loading commit data...
modules-skip-7.js Loading commit data...
modules-skip-8.js Loading commit data...
modules-skip-9.js Loading commit data...
modules-skip-empty.js Loading commit data...
object-rest-basic.js Loading commit data...
object-spread-basic.js Loading commit data...
private-symbols.js Loading commit data...
private.js Loading commit data...
promise-prototype-finally.js Loading commit data...
regexp-change-exec.js Loading commit data...
regexp-dotall.js Loading commit data...
regexp-lookbehind.js Loading commit data...
regexp-named-captures.js Loading commit data...
regexp-property-binary.js Loading commit data...
regexp-property-char-class.js Loading commit data...
regexp-property-disabled.js Loading commit data...
regexp-property-enumerated.js Loading commit data...
regexp-property-exact-match.js Loading commit data...
regexp-property-general-category.js Loading commit data...
regexp-property-invalid.js Loading commit data...
regexp-property-lu-ui.js Loading commit data...
regexp-property-script-extensions.js Loading commit data...
regexp-property-scripts.js Loading commit data...
regexp-property-special.js Loading commit data...
regress-generators-resume.js Loading commit data...
set-prototype-of.js Loading commit data...
sharedarraybuffer.js Loading commit data...
sloppy-legacy-duplicate-generators.js Loading commit data...
sloppy-no-duplicate-generators.js Loading commit data...
symbol-async-iterator.js Loading commit data...
template-escapes.js Loading commit data...
to-length.js Loading commit data...
to-name.js Loading commit data...
to-number.js Loading commit data...
to-primitive.js Loading commit data...
to-string.js Loading commit data...
trailing-commas-length.js Loading commit data...