• Mythri A's avatar
    [ic] Use the existing prototype validity cell when recomputing handlers · 800c294c
    Mythri A authored
    For keyed stores we recompute handlers based on the receiver maps
    we have seen. This is done so that we can transition to the most generic
    elements kind we have seen so far. When we recompute this handlers we
    get a new prototype validity cell and ignore the existing cell. This
    leads to incorrect behaviour if the cell was invalid. Recomputing the
    handler may be extra work which is not worth doing at this point. So
    we just reuse the existing validity cell and let the IC recompute the
    handler if we see the map again.
    
    Bug: chromium:1053939
    Change-Id: Ifc891d70f5a4b8b774238e12fb40e29b4d174e37
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2122032
    Commit-Queue: Mythri Alle <mythria@chromium.org>
    Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#66963}
    800c294c
Name
Last commit
Last update
..
OWNERS 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-configuration-inl.h Loading commit data...
handler-configuration.cc Loading commit data...
handler-configuration.h Loading commit data...
handler-configuration.tq Loading commit data...
ic-inl.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...