1. 14 May, 2019 1 commit
  2. 08 Mar, 2019 1 commit
  3. 01 Mar, 2019 1 commit
    • Mike Stanton's avatar
      [Torque] Move some TypedArray builtins to Torque · 40c9cce4
      Mike Stanton authored
      This CL moves the following builtins from CSA to Torque:
      
      TypedArray.prototype.forEach
      TypedArray.prototype.reduce
      TypedArray.prototype.reduceRight
      
      A space-saving decision was made in the design -- instead of emitting
      versions of the central loop for each ElementsKind, a function
      pointer which knows how to read from the appropriate TypedArray
      ElementsKind is constructed at the outset, and passed into the
      loop. This enormously reduces codesize for the TypedArray builtins.
      We'll have to see if the overhead of the builtin call affects
      performance too adversely.
      
      BUG: v8:8906
      Change-Id: I808cd70f58ddbde18f85e5b2a9be0b883a3f6647
      Reviewed-on: https://chromium-review.googlesource.com/c/1484292Reviewed-by: 's avatarSimon Zünd <szuend@chromium.org>
      Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Commit-Queue: Michael Stanton <mvstanton@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#59970}
      40c9cce4