• Benedikt Meurer's avatar
    [turbofan] Teach TurboFan about the TypedArray constructor. · 0875778f
    Benedikt Meurer authored
    This introduces a new JSCreateTypedArray operator, backed by a dedicated
    CreateTypedArray builtin, and adds support to lowering new TypedArray
    calls to this operator. This way we avoid the overhead of going through
    the generic construct stub machinery for hot code. This not only
    recovers the performance regression on the typed array constructor
    benchmarks, but even improves slightly beyond what we had in 6.6.
    
    We might in the future try to fully inline the TypedArray constructor
    into optimized code for certain cases.
    
    Bug: chromium:820726, v8:7503, v8:7518
    Change-Id: Ied465924d5695db576d533792f1db68456b9b5ea
    Reviewed-on: https://chromium-review.googlesource.com/959010
    Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
    Reviewed-by: 's avatarPeter Marshall <petermarshall@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#51973}
    0875778f
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector 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...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.isolate Loading commit data...
d8_default.isolate Loading commit data...
default.isolate Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.isolate Loading commit data...