• Frank Emrich's avatar
    [dict-proto] SwissNameDictionary rollout in runtime code, pt. 1 · fc7ca518
    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
    a) moves two operations from ordered-hash-table.cc to
    swiss-name-dictionary.cc (which were itself just copies of existing
    functions, see the existing TODOs about cleaning this up).
    
    b) adds a new getter for the SwissNameDictionary backing store,
    called JSReceiver::property_dictionary_swiss.
    
    c) contains a first wave of replacing usages of
    OrderedNameDictionary with SwissNameDictionary.
    
    Bug: v8:11388
    Change-Id: Ie6b45571aee3646c0c0d3937b3c25f0f033810dd
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2732676Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
    Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
    Commit-Queue: Frank Emrich <emrich@google.com>
    Cr-Commit-Position: refs/heads/master@{#73213}
    fc7ca518
Name
Last commit
Last update
.github Loading commit data...
build_overrides Loading commit data...
custom_deps Loading commit data...
docs Loading commit data...
gni Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.clang-tidy Loading commit data...
.editorconfig Loading commit data...
.flake8 Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
COMMON_OWNERS Loading commit data...
DEPS Loading commit data...
DIR_METADATA Loading commit data...
ENG_REVIEW_OWNERS Loading commit data...
INFRA_OWNERS Loading commit data...
INTL_OWNERS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
MIPS_OWNERS Loading commit data...
OWNERS Loading commit data...
PPC_OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
RISCV_OWNERS Loading commit data...
S390_OWNERS Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...