1. 19 Oct, 2016 1 commit
  2. 18 Oct, 2016 3 commits
  3. 17 Oct, 2016 1 commit
  4. 14 Oct, 2016 7 commits
  5. 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
  6. 12 Oct, 2016 3 commits
  7. 11 Oct, 2016 4 commits
  8. 10 Oct, 2016 7 commits
  9. 07 Oct, 2016 2 commits
  10. 06 Oct, 2016 2 commits
  11. 05 Oct, 2016 3 commits
  12. 04 Oct, 2016 1 commit
  13. 30 Sep, 2016 1 commit
    • jgruber's avatar
      [regexp] Port RegExp.prototype.exec to TurboFan · db99bdff
      jgruber authored
      This ports RegExp.prototype.exec to a TurboFan builtin.
      
      LastMatchInfo is now stored on the context in order to be able to access
      it from the stub.
      
      Unmodified RegExp instances go through a fast path of accessing the
      lastIndex property as an in-object field, while modified instances call
      into runtime for lastIndex loads and stores.
      
      Octane/regexp shows slight improvements (between 0 and 5%) with this CL.
      
      BUG=v8:5339
      
      Review-Url: https://codereview.chromium.org/2375953002
      Cr-Commit-Position: refs/heads/master@{#39899}
      db99bdff
  14. 29 Sep, 2016 1 commit
  15. 28 Sep, 2016 1 commit
  16. 27 Sep, 2016 1 commit
    • gsathya's avatar
      [promises] Don't create resolving functions for PromiseCreate · 1f89abcb
      gsathya authored
      Previously passing in the PromiseNopResolver function to the Promise
      constructor would result in creating the resolving functions to be in
      passed in to the executor, but the PromiseNopResolver does not use
      these resolving functions resulting in wastefully creating these closures.
      
      Instead we pass in the promiseRawSymbol to the promise constructor
      so that these unnecessary resolving functions are not created.
      
      BUG=v8:5046
      
      Review-Url: https://codereview.chromium.org/2353303003
      Cr-Commit-Position: refs/heads/master@{#39791}
      1f89abcb