• 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...
build Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party/binutils Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
Makefile.nacl Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...