• Frank Emrich's avatar
    [dict-proto] Add support for ordered property dicts, pt.5 · 4d7fcea2
    Frank Emrich authored
    This CL adds partial support for objects whose slow mode dictionaries
    are OrderedNameDictionaries. This is the case for all slow mode objects
    if V8_DICT_MODE_PROTOTYPES is enabled.
    
    Specifically, this CL contains bailouts to the runtime in places where
    the subsequent CSA or Torque code may have to access property
    dictionaries.
    These bailouts only happen if V8_DICT_MODE_PROTOTYPES is set, in which
    case the property dictionaries are of type OrderedNameDictionary, which
    cannot be handled by most CSA/Torque code.
    
    The idea is that these bailouts are temporary and will all be removed
    once we've implemented the actuall dictionary accesses in CSA/Torque.
    
    Bug: v8:7569, v8:11167
    Change-Id: I8308b2f8ba2d4dbf7918da42f995ae270c825fff
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2545711
    Commit-Queue: Frank Emrich <emrich@google.com>
    Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
    Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#71311}
    4d7fcea2
accessor-assembler.cc 165 KB