• 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
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
debugging Loading commit data...
fuzzer Loading commit data...
fuzzilli Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...