• Marja Hölttä's avatar
    [super ic] Fix receiver type · 3773e46e
    Marja Hölttä authored
    With non-super loads (receiver == lookup_start_object), we don't hit
    the code in AccessorAssembler::GenericPropertyLoad calling
    CSA::TryGetOwnProperty if the receiver (the lookup_start_object) is a
    SMI.
    
    But with super property loads, if we set up lookup_start_object the
    right way, we will hit this code.
    
    The code was assuming receiver is a HeapObject, which is too
    restrictive. The receiver is only used for the accessor call, so
    it's ok to make the type more generic.
    
    Bug: v8:9237, chromium:1139786
    Change-Id: I3167ccfb54a49ac1c401040a6f02fc1f3b98d9d1
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2484366Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
    Commit-Queue: Marja Hölttä <marja@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#70647}
    3773e46e
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...
unary-op-assembler.cc Loading commit data...
unary-op-assembler.h Loading commit data...