• Frank Emrich's avatar
    [dict-proto] SwissNameDictionary rollout in runtime code, pt. 2 · 1b67ab4d
    Frank Emrich authored
    This CL is part of a series that makes SwissNameDictionary available
    as a new property backing store. Currently, the flag
    v8_dict_mode_prototypes allows selecting between NameDictionary and
    OrderedNameDictionary as the backing store used for all dictionary
    mode objects. This series of CLs changes this such that enabling the
    flag causes SwissNameDictionary being used instead of
    OrderedNameDictionary. The behavior for when the flag is not set
    remains unchanged (= use NameDictionary).
    
    This particular CL just collects many small changes.
    
    Note that the changes this CL makes to literal-objects.cc do not
    fix the problems with the enumeration order of computed property
    names in classes that currently exist when using OrderedNameDictionary.
    This will be fixed separately.
    
    Bug: v8:11388
    Change-Id: I6b98f61c395b4f2788407d6a34363ef8863cce9a
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2735834
    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@{#73224}
    1b67ab4d
test-hashcode.cc 10.3 KB