• Jakob Kummerow's avatar
    Refactor TransitionArray access · e567dd3a
    Jakob Kummerow authored
    in preparation for caching StoreIC-Transition handlers in there.
    This CL should not change behavior or performance.
    
    The TransitionArray class no longer serves a dual purpose; it is now
    simply the data structure serving that role. Further, it now supports
    storing transitioning handlers in its "target" slot, which in turn have
    a WeakCell pointing to the transition target (but this functionality
    is not being used yet).
    
    The interface for accessing a map's transitions, previously implemented
    as a set of static functions, is now handled by the TransitionsAccessor
    class. It distinguishes the following internal states:
    - kPrototypeInfo: map is a prototype map, will never cache any transitions.
    - kUninitialized: map can cache transitions, but doesn't have any.
    - kWeakCell: map caches a single transition, stored inline. Formerly known
                 as "IsSimpleTransition".
    - kFullTransitionArray: map uses a TransitionArray to store transitions.
    - kTuple3Handler, kFixedArrayHandler: to be used in the future for caching
                                          transitioning handlers.
    
    Change-Id: If2aa68390981f96f317b958445a6e0b935c2a14e
    Reviewed-on: https://chromium-review.googlesource.com/550118Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
    Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
    Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#46981}
    e567dd3a
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
ia32 Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc Loading commit data...
s390 Loading commit data...
x64 Loading commit data...
OWNERS Loading commit data...
access-compiler-data.h Loading commit data...
access-compiler.cc Loading commit data...
access-compiler.h Loading commit data...
accessor-assembler.cc Loading commit data...
accessor-assembler.h Loading commit data...
binary-op-assembler.cc Loading commit data...
binary-op-assembler.h Loading commit data...
call-optimization.cc Loading commit data...
call-optimization.h Loading commit data...
handler-compiler.cc Loading commit data...
handler-compiler.h Loading commit data...
handler-configuration-inl.h Loading commit data...
handler-configuration.cc Loading commit data...
handler-configuration.h Loading commit data...
ic-inl.h Loading commit data...
ic-state.cc Loading commit data...
ic-state.h Loading commit data...
ic-stats.cc Loading commit data...
ic-stats.h Loading commit data...
ic.cc Loading commit data...
ic.h Loading commit data...
keyed-store-generic.cc Loading commit data...
keyed-store-generic.h Loading commit data...
stub-cache.cc Loading commit data...
stub-cache.h Loading commit data...