• caitp's avatar
    [typedarrays] move %TypedArray%.prototype.copyWithin to C++ · 0f1c626d
    caitp authored
    - Removes shared InnerArrayCopyWithin JS builtin from src/js/array.js
    - Implements %TypedArray%.prototype.copyWithin as a C++ builtin, which
    relies on std::memmove rather than accessing individual eleements.
    - Fixes the case where copyWithin is invoked on a TypedArray with a
    detached buffer.
    - Add tests to ensure that +/-Infinity (for all 3 parameters) is handled correctly by the
    algorithm
    
    The C++ version gets through the benchmark more than 25000 times as
    quickly as the JS implementation.
    
    BUG=v8:5925, v8:5929, v8:4648
    R=cbruni@chromium.org, adamk@chromium.org, littledan@chromium.org
    
    Review-Url: https://codereview.chromium.org/2671233002
    Cr-Commit-Position: refs/heads/master@{#42975}
    0f1c626d
Name
Last commit
Last update
..
local-tests/test/intl402 Loading commit data...
BUILD.gn Loading commit data...
README Loading commit data...
archive.py Loading commit data...
detachArrayBuffer.js Loading commit data...
harness-adapt.js Loading commit data...
list.py Loading commit data...
prune-local-tests.sh Loading commit data...
test262.gyp Loading commit data...
test262.isolate Loading commit data...
test262.status Loading commit data...
testcfg.py Loading commit data...
upstream-local-tests.sh Loading commit data...