• littledan's avatar
    Reland Async/await Promise dependency graph · 1b414e28
    littledan authored
    This patch knits together Promises returned by async/await such that when
    one async function awaits the result of another one, catch prediction works
    across the boundaries, whether the exception comes synchronously or
    asynchronously. Edges are added in three places:
    - When a locally uncaught await happens, if the value passed into await
      is a Promise, from the awaited value to the Promise under construction
      in the broader async function
    - From a "throwaway" Promise, which may be found on the Promise debug
      stack, to the Promise under construction in the async function that
      surrounds it
    - When a Promise is resolved with another Promise (e.g., when returning a
      Promise from an async function)
    
    In this reland, the caught tests are broken up into four parts to avoid
    timeouts.
    
    BUG=v8:5167
    
    Review-Url: https://codereview.chromium.org/2346363004
    Cr-Commit-Position: refs/heads/master@{#39564}
    1b414e28
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
fuzzer Loading commit data...
inspector_protocol_parser_test 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...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
simdjs Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...