• 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...
build_overrides Loading commit data...
docs Loading commit data...
gni 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 Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.editorconfig Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind 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...
snapshot_toolchain.gni Loading commit data...