• 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
..
bytecode_expectations Loading commit data...
bytecode-expectations-printer.cc Loading commit data...
bytecode-expectations-printer.h Loading commit data...
generate-bytecode-expectations.cc Loading commit data...
interpreter-tester.cc Loading commit data...
interpreter-tester.h Loading commit data...
source-position-matcher.cc Loading commit data...
source-position-matcher.h Loading commit data...
test-bytecode-generator.cc Loading commit data...
test-interpreter-intrinsics.cc Loading commit data...
test-interpreter.cc Loading commit data...
test-source-positions.cc Loading commit data...