• 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-ppc-inl.h Loading commit data...
assembler-ppc.cc Loading commit data...
assembler-ppc.h Loading commit data...
builtins-ppc.cc Loading commit data...
code-stubs-ppc.cc Loading commit data...
code-stubs-ppc.h Loading commit data...
codegen-ppc.cc Loading commit data...
codegen-ppc.h Loading commit data...
constants-ppc.cc Loading commit data...
constants-ppc.h Loading commit data...
cpu-ppc.cc Loading commit data...
deoptimizer-ppc.cc Loading commit data...
disasm-ppc.cc Loading commit data...
frames-ppc.cc Loading commit data...
frames-ppc.h Loading commit data...
interface-descriptors-ppc.cc Loading commit data...
macro-assembler-ppc.cc Loading commit data...
macro-assembler-ppc.h Loading commit data...
simulator-ppc.cc Loading commit data...
simulator-ppc.h Loading commit data...