• Bill Budge's avatar
    Revert "[async] Optimize await and AsyncFromSyncIterator" · 81835bf0
    Bill Budge authored
    This reverts commit 21c0d77e.
    
    Reason for revert: Compile failure in bootstrapper.cc
    
    Original change's description:
    > [async] Optimize await and AsyncFromSyncIterator
    > 
    > Simplify the promise wrapping in await and
    > %AsyncFromSyncIteratorPrototype%.next/return/throw to reuse the PromiseResolve
    > primitive. Now await takes 1 tick instead of 3 on the microtask queue.
    > 
    > Change-Id: I7e99b8689eb8fcb09c48915b11c1e06684dc0f1a
    > Reviewed-on: https://chromium-review.googlesource.com/1090272
    > Commit-Queue: Maya Lekova <mslekova@chromium.org>
    > Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org>
    > Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
    > Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
    > Reviewed-by: Mathias Bynens <mathias@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#53853}
    
    TBR=kozyatinskiy@chromium.org,littledan@chromium.org,gsathya@chromium.org,bmeurer@chromium.org,domenic@chromium.org,mathias@chromium.org,mslekova@chromium.org
    
    Change-Id: Ia631acdfcd5c1f9c28c1540c8da16cdf076abf87
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Reviewed-on: https://chromium-review.googlesource.com/1106566Reviewed-by: 's avatarBill Budge <bbudge@chromium.org>
    Commit-Queue: Bill Budge <bbudge@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#53855}
    81835bf0
async-function-step-out.js 4.7 KB