• dehrenberg's avatar
    Implement %TypedArray%.prototype.slice · 51df8df9
    dehrenberg authored
    The initial implementation of this method takes a couple shortcuts:
    - At some points in the spec, we should be making a reference to
      "Table 49" and instead do property lookup on the constructor.
      This is an issue with some other TypedArray methods too.
    - The spec indicates that, if constructor and @@species haven't been
      messed with in particular ways, then there should be a memcpy
      from the old to the new. That fast path is not implemented here
      in this patch, but because V8 doesn't canonicalize NaN, the result
      isn't observably different.
    
    BUG=v8:3578
    LOG=Y
    R=arv
    
    Review URL: https://codereview.chromium.org/1170023002
    
    Cr-Commit-Position: refs/heads/master@{#28882}
    51df8df9
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
simdjs Loading commit data...
test262 Loading commit data...
test262-es6 Loading commit data...
unittests Loading commit data...
webkit Loading commit data...