• gsathya's avatar
    [promises] Remove one runtime call to create_resolving_functions · ec61e6b4
    gsathya authored
    - Creates a new promise-utils.{h, cc} which refactors out the
    logic to create resolving functions. This is shared between the
    runtime functions and builtins.
    
    - Changes PromiseResolveThenableJobInfo to store the context
    since we no longer create the resolving functions in JS.
    
    - Changes EnqueuPromiseResolveThenableJob to take in the promise and
      not the callbacks.
    
    BUG=v8:5343
    
    Review-Url: https://codereview.chromium.org/2487053002
    Cr-Commit-Position: refs/heads/master@{#40941}
    ec61e6b4
objects-printer.cc 49.2 KB