1. 21 Oct, 2016 1 commit
    • jgruber's avatar
      [regexp] Add fast-path for global, callable replace · a8e30c0e
      jgruber authored
      This adds a fast-path for calls to RegExp.prototype[@@replace] for cases in
      which the given regexp is unmodified and global, and the given replace argument
      is callable.
      
      The fast-path implementation itself is almost identical to the original JS
      implementation except that it currently does not reuse result_array.
      
      SunSpider/unpack-code relies heavily on this codepath.
      
      BUG=v8:5339
      
      Review-Url: https://chromiumcodereview.appspot.com/2433923003
      Cr-Commit-Position: refs/heads/master@{#40504}
      a8e30c0e
  2. 13 Oct, 2016 1 commit
    • 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
  3. 14 Jun, 2016 1 commit
  4. 20 May, 2016 1 commit
  5. 26 Oct, 2015 3 commits
  6. 30 Sep, 2015 1 commit
  7. 12 Aug, 2015 1 commit
    • mstarzinger's avatar
      Remove inline header includes from non-inline headers (1). · 00a07bc1
      mstarzinger authored
      This tries to remove includes of "-inl.h" headers from normal ".h"
      headers, thereby reducing the chance of any cyclic dependencies and
      decreasing the average size of our compilation units.
      
      Note that this change still leaves 7 violations of that rule in the
      code. However there now is the "tools/check-inline-includes.sh" tool
      detecting such violations.
      
      R=bmeurer@chromium.org
      
      Review URL: https://codereview.chromium.org/1283033003
      
      Cr-Commit-Position: refs/heads/master@{#30125}
      00a07bc1
  8. 11 Aug, 2015 1 commit
    • mstarzinger's avatar
      Remove several grab-bag includes from the v8.h header. · 58109a2c
      mstarzinger authored
      This is the first step of turning the v8.h file into a normal header
      instead of an include-the-world header. The new rule is that no other
      header files are allowed to include v8.h, which is enforced by DEPS.
      
      Also the number of includes inside the v8.h file has been drastically
      reduced. Basically the last missing piece is the inclusion of the big
      objects-inl.h file.
      
      This in turn makes many headers follow the IWYU principle.
      
      R=bmeurer@chromium.org,hpayer@chromium.org,titzer@chromium.org
      
      Review URL: https://codereview.chromium.org/1282503003
      
      Cr-Commit-Position: refs/heads/master@{#30102}
      58109a2c
  9. 19 Jun, 2015 1 commit
  10. 12 Nov, 2014 2 commits
  11. 20 Oct, 2014 1 commit
  12. 29 Sep, 2014 1 commit