• Benedikt Meurer's avatar
    [cleanup] Unify enum cache handling. · 562663d5
    Benedikt Meurer authored
    Introduce a proper empty_descriptor_array, which has the proper layout
    (length is 2 and the two fields are set properly). Also add a special
    EnumCache class and a matching empty_enum_cache. The contract now is
    that we only need to check the EnumLength on the map to know whether we
    are allowed to use the enum cache. This greatly simplifies the handling
    of the enum cache (and also the descriptor arrays), especially for the
    future work on optimizing keyed access via the enum cache indices.
    
    Bug: v8:6702
    Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
    Change-Id: I5ef517a3041163cd65ef003f691139ea52233e83
    Reviewed-on: https://chromium-review.googlesource.com/641030
    Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
    Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
    Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
    Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#47697}
    562663d5
Name
Last commit
Last update
..
arguments-inl.h Loading commit data...
arguments.h Loading commit data...
code-cache-inl.h Loading commit data...
code-cache.h Loading commit data...
compilation-cache-inl.h Loading commit data...
compilation-cache.h Loading commit data...
debug-objects-inl.h Loading commit data...
debug-objects.cc Loading commit data...
debug-objects.h Loading commit data...
descriptor-array.h Loading commit data...
dictionary.h Loading commit data...
frame-array-inl.h Loading commit data...
frame-array.h Loading commit data...
hash-table-inl.h Loading commit data...
hash-table.h Loading commit data...
intl-objects.cc Loading commit data...
intl-objects.h Loading commit data...
literal-objects.cc Loading commit data...
literal-objects.h Loading commit data...
map-inl.h Loading commit data...
map.h Loading commit data...
module-inl.h Loading commit data...
module.cc Loading commit data...
module.h Loading commit data...
name-inl.h Loading commit data...
name.h Loading commit data...
object-macros-undef.h Loading commit data...
object-macros.h Loading commit data...
regexp-match-info.h Loading commit data...
scope-info.cc Loading commit data...
scope-info.h Loading commit data...
script-inl.h Loading commit data...
script.h Loading commit data...
shared-function-info-inl.h Loading commit data...
shared-function-info.h Loading commit data...
string-inl.h Loading commit data...
string-table.h Loading commit data...
string.h Loading commit data...