• gsathya's avatar
    [promises] Port ResolvePromise to TF · 11359e33
    gsathya authored
    -- Moves promiseHasHandlerSymbol to inobject property
    -- Ports PromiseResolveClosure to TF
    -- Fix a non spec async-await test which fails now because we do a map
    check for native promise check (instead of IsPromise). Changing the
    constructor (in the test) invalidates the map check.
    
    This patch results in a 7.1% performance improvement in the bluebird
    benchmark (over 5 runs).
    
    BUG=v8:5343
    
    Review-Url: https://codereview.chromium.org/2541283002
    Cr-Commit-Position: refs/heads/master@{#41569}
    11359e33
objects-printer.cc 52.5 KB