• gsathya's avatar
    [promises] Remove deferred object · 5668ce39
    gsathya authored
    This patch stores the promise, resolve, reject properties of the
    deferred object created by CreateInternalPromiseCapability and
    NewPromiseCapability directly on the promise (if the promise hasn't
    been fulfilled), otherwise they are stored on the
    PromiseReactionJobInfo.
    
    This patch removes the currently unused
    CreateInternalPromiseCapability and inlines the call to create the
    deferred promise object.
    
    NewPromiseCapability is the only function that works with a deferred.
    
    This patch results in a 8.5% improvement in benchmarks over 5 runs.
    
    BUG=v8:5343
    
    Review-Url: https://codereview.chromium.org/2590563003
    Cr-Commit-Position: refs/heads/master@{#41991}
    5668ce39
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...
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...