• Benedikt Meurer's avatar
    [async-await] Turn await closures into intrinsics. · d97bb317
    Benedikt Meurer authored
    There's no need to have the AsyncFunctionAwait/AsyncGeneratorAwait
    operations as separate closures that are called via JavaScript calling
    convention, but instead we can just have them as intrinsics (with the
    goal to eventually turn them into IC stubs).
    
    Drive-by-fix: Tail call to the ResumeGenerator builtin when resuming
    an async function. The earlier restrictions no only apply with the new
    machinery.
    
    Bug: v8:7253
    Change-Id: I0c4d04dae15b4211158fc07151adafda69d4faec
    Reviewed-on: https://chromium-review.googlesource.com/924703Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
    Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#51382}
    d97bb317
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.isolate Loading commit data...
d8_default.isolate Loading commit data...
default.isolate Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.isolate Loading commit data...