• littledan's avatar
    Use ES2015-style TypedArray prototype chain · 07c91dcc
    littledan authored
    This patch switches TypedArrays to use the prototype chain described
    in the ES2015 specification, which adds a %TypedArray% superclass above
    all individual TypedArray types. Most methods are defined on the
    superclass rather than the subclasses.
    
    In order to prevent a performance regression, a few methods are
    marked as inline. Inlining might prevent code which was previously
    monomorphic from becoming polymorphic, and it was specifically
    applied in places where methods became more polymorphic than before.
    Tests with realistic workloads would be nice to do before this
    ships in stable.
    
    This patch does not bring TypedArrays up to full spec compliance. In
    particular, @@species is not yet supported.
    
    R=cbruni
    BUG=v8:4085
    LOG=Y
    
    Review URL: https://codereview.chromium.org/1541233002
    
    Cr-Commit-Position: refs/heads/master@{#33050}
    07c91dcc
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...
unittests Loading commit data...
webkit Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...