1. 14 Mar, 2017 1 commit
  2. 13 Mar, 2017 6 commits
  3. 10 Mar, 2017 2 commits
  4. 09 Mar, 2017 1 commit
  5. 08 Mar, 2017 1 commit
  6. 07 Mar, 2017 7 commits
  7. 04 Mar, 2017 1 commit
  8. 03 Mar, 2017 2 commits
  9. 02 Mar, 2017 6 commits
  10. 01 Mar, 2017 3 commits
    • Peter Marshall's avatar
      Revert "[builtins] Port TypedArrayInitialize to CodeStubAssembler." · a8e15e8f
      Peter Marshall authored
      This reverts commit b23b2c10.
      
      Reason for revert: Makes Linux debug bot sad
      
      Original change's description:
      > [builtins] Port TypedArrayInitialize to CodeStubAssembler.
      > 
      > Turbofan is a lot slower than Crankshaft at constructing TypedArrays,
      > because we always go to the C++ builtin. Port the builtin to CSA
      > to improve performance, and to clean up the implementation, which is
      > split across multiple files and pieces at the moment.
      > 
      > This CL increases the performance with --future to roughly the same
      > as with crankshaft.
      > 
      > BUG=v8:5977
      > 
      > Change-Id: I5a4c4b544a735a56290b85bf33c2f3718df7e2b8
      > Reviewed-on: https://chromium-review.googlesource.com/445717
      > Commit-Queue: Peter Marshall <petermarshall@chromium.org>
      > Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
      > Reviewed-by: Camillo Bruni <cbruni@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#43518}
      
      TBR=cbruni@chromium.org,petermarshall@chromium.org,bmeurer@chromium.org,v8-reviews@googlegroups.com
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=v8:5977
      
      Change-Id: I5d5bc8b4677a405c716d78e688af80ae9c737b4a
      Reviewed-on: https://chromium-review.googlesource.com/448558Reviewed-by: 's avatarPeter Marshall <petermarshall@chromium.org>
      Commit-Queue: Peter Marshall <petermarshall@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#43520}
      a8e15e8f
    • Peter Marshall's avatar
      [builtins] Port TypedArrayInitialize to CodeStubAssembler. · b23b2c10
      Peter Marshall authored
      Turbofan is a lot slower than Crankshaft at constructing TypedArrays,
      because we always go to the C++ builtin. Port the builtin to CSA
      to improve performance, and to clean up the implementation, which is
      split across multiple files and pieces at the moment.
      
      This CL increases the performance with --future to roughly the same
      as with crankshaft.
      
      BUG=v8:5977
      
      Change-Id: I5a4c4b544a735a56290b85bf33c2f3718df7e2b8
      Reviewed-on: https://chromium-review.googlesource.com/445717
      Commit-Queue: Peter Marshall <petermarshall@chromium.org>
      Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
      Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#43518}
      b23b2c10
    • zhengxing.li's avatar
      X87: [turbofan] Introduce JSCallForwardVarargs operator. · 6cff2ddf
      zhengxing.li authored
        port 69747e26(r42680)
      
        original commit message:
        We turn a JSCallFunction node for
      
          f.apply(receiver, arguments)
      
        into a JSCallForwardVarargs node, when the arguments refers to the
        arguments of the outermost optimized code object, i.e. not an inlined
        arguments, and the apply method refers to Function.prototype.apply,
        and there's no other user of arguments except in frame states.
      
        We also replace the arguments node in the graph with a marker for
        the Deoptimizer similar to Crankshaft to make sure we don't materialize
        unused arguments just for the sake of deoptimization. We plan to replace
        this with a saner EscapeAnalysis based solution soon.
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2681783002
      Cr-Commit-Position: refs/heads/master@{#43516}
      6cff2ddf
  11. 28 Feb, 2017 5 commits
  12. 27 Feb, 2017 2 commits
  13. 26 Feb, 2017 1 commit
    • vabr's avatar
      Remove SMI length check from TF_BUILTIN(ArrayIncludes, CodeStubAssembler) · 72a49225
      vabr authored
      Currently, ArrayIncludes handles the hypothetical case of an array with
      a fast ElementsKind and non-SMI length. This should not happen (and is checked
      against in JSArray::JSArrayVerify of objects_debug.cc).
      
      Therefore this CL replaces that handling with a CSA_ASSERT that the length is
      indeed SMI.
      
      The CL also simplifies loading of the (SMI) length on 64 bit architectures by
      using LoadAndUntagObjectField instead of LoadObjectField+SmiToWord.
      
      BUG=v8:5985
      
      Review-Url: https://codereview.chromium.org/2714193002
      Cr-Commit-Position: refs/heads/master@{#43433}
      72a49225
  14. 25 Feb, 2017 2 commits
    • vabr's avatar
      Remove SMI length check from Builtins::Generate_ArrayIndexOf · 2a7957b9
      vabr authored
      Currently, Generate_ArrayIndexOf handles the hypothetical case of an array with
      a fast ElementsKind and non-SMI length. This should not happen (and is checked
      against in JSArray::JSArrayVerify of objects_debug.cc).
      
      Therefore this CL replaces that handling with a CSA_ASSERT that the length is
      indeed SMI.
      
      The CL also simplifies loading of the (SMI) length on 64 bit architectures by
      using LoadAndUntagObjectField instead of LoadObjectField+SmiToWord.
      
      The CL does not add new tests, because test/mjsunit/array-length.js should
      cover this already.
      
      BUG=v8:5985
      
      Review-Url: https://codereview.chromium.org/2714173002
      Cr-Commit-Position: refs/heads/master@{#43431}
      2a7957b9
    • cwhan.tunz's avatar
      [typedarrays] sort in C++ for no comparison function · 32ec5335
      cwhan.tunz authored
      - If no comparison function is given for %TypedArray%.prototype.sort,
      sort the typedarray using std::sort in C++. This gets 20 times more
      benchmark score in Float64Array.
      - Move ValidateTypedArray in builtin-typedarray.cc to static inline
      method of JSTypedArray class.
      
      BUG=v8:5953
      
      Review-Url: https://codereview.chromium.org/2693043009
      Cr-Commit-Position: refs/heads/master@{#43427}
      32ec5335