• bmeurer's avatar
    [contexts] Place the initial JSArray maps on the native context directly. · 5964152c
    bmeurer authored
    No need to have an indirection to get to the initial JSArray maps from
    the native context; we only cache the fast elements maps anyway, so
    those could live on the native context directly. This will also
    integrate nicely with the load/store propagation in TurboFan (once we
    propagate the immutable flag for FieldAccess as well).
    
    Drive-by-fix: Also don't embed any of the initial JSArray maps in
    TurboFan generated code when allocating a new JSArray, but instead
    always load the appropriate map from the native context.  This way
    we ensure that we never leak a reference to one of those maps and
    its as efficient as embedding a constant map.
    
    R=yangguo@chromium.org
    
    Review URL: https://codereview.chromium.org/1516433005
    
    Cr-Commit-Position: refs/heads/master@{#32779}
    5964152c
Name
Last commit
Last update
..
OWNERS Loading commit data...
assembler-arm64-inl.h Loading commit data...
assembler-arm64.cc Loading commit data...
assembler-arm64.h Loading commit data...
builtins-arm64.cc Loading commit data...
code-stubs-arm64.cc Loading commit data...
code-stubs-arm64.h Loading commit data...
codegen-arm64.cc Loading commit data...
codegen-arm64.h Loading commit data...
constants-arm64.h Loading commit data...
cpu-arm64.cc Loading commit data...
decoder-arm64-inl.h Loading commit data...
decoder-arm64.cc Loading commit data...
decoder-arm64.h Loading commit data...
deoptimizer-arm64.cc Loading commit data...
disasm-arm64.cc Loading commit data...
disasm-arm64.h Loading commit data...
frames-arm64.cc Loading commit data...
frames-arm64.h Loading commit data...
instructions-arm64.cc Loading commit data...
instructions-arm64.h Loading commit data...
instrument-arm64.cc Loading commit data...
instrument-arm64.h Loading commit data...
interface-descriptors-arm64.cc Loading commit data...
interface-descriptors-arm64.h Loading commit data...
macro-assembler-arm64-inl.h Loading commit data...
macro-assembler-arm64.cc Loading commit data...
macro-assembler-arm64.h Loading commit data...
simulator-arm64.cc Loading commit data...
simulator-arm64.h Loading commit data...
utils-arm64.cc Loading commit data...
utils-arm64.h Loading commit data...