1. 11 Nov, 2016 1 commit
    • 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
  2. 10 Nov, 2016 1 commit
    • gsathya's avatar
      [promises] Move CreateResolvingFunctions to c++ · cb6c8e48
      gsathya authored
      - A new runtime function (%create_resolving_functions) is installed to
        call the CreateResolvingFunctions builtin from JS.
      
      - Three new builtins are created - resolve and reject functions and a
        third function that creates a new JSFunctions from these
        resolve/reject builtins.
      
      - The promise reject function is installed on the context temporarily
        as internal_promise_reject. This should go away once we remove
        PromiseSet.
      
      BUG=v8:5343
      
      Review-Url: https://codereview.chromium.org/2459283004
      Cr-Commit-Position: refs/heads/master@{#40903}
      cb6c8e48
  3. 27 Oct, 2016 1 commit
  4. 26 Oct, 2016 2 commits
  5. 25 Oct, 2016 4 commits
  6. 19 Oct, 2016 1 commit
  7. 18 Oct, 2016 3 commits
  8. 17 Oct, 2016 1 commit
  9. 14 Oct, 2016 7 commits
  10. 13 Oct, 2016 2 commits
    • jgruber's avatar
      [regexp] Port remaining JS functions in regexp.js · a10b4712
      jgruber authored
      This ports RegExpInitialize, IsRegExp, InternalMatch and InternalReplace to C++
      / TurboFan. InternalMatch is in TurboFan because it calls RegExpExecStub and
      needs to construct a RegExpResult (which are, respectively, a PlatformStub and
      a CodeStubAssembler function).
      
      Except for LastMatchInfo (and GetSubstitution, which could be moved to string.js
      anytime), regexp.js is now completely empty.
      
      BUG=v8:5339
      
      Review-Url: https://codereview.chromium.org/2409513003
      Cr-Commit-Position: refs/heads/master@{#40277}
      a10b4712
    • jgruber's avatar
      [regexp] Port RegExp.prototype[@@replace] · 33a4faa4
      jgruber authored
      This moves the implementation of @@replace from regexp.js to builtins-regexp.cc
      (the TurboFan fast path) and runtime-regexp.cc (slow path). The fast path
      handles all cases in which the regexp itself is an unmodified JSRegExp
      instance, the given 'replace' argument is not callable and does not contain any
      '$' characters (i.e. we are doing a string replacement).
      
      BUG=v8:5339
      
      Review-Url: https://codereview.chromium.org/2398423002
      Cr-Commit-Position: refs/heads/master@{#40253}
      33a4faa4
  11. 12 Oct, 2016 3 commits
  12. 11 Oct, 2016 4 commits
  13. 10 Oct, 2016 7 commits
  14. 07 Oct, 2016 2 commits
  15. 06 Oct, 2016 1 commit