[super IC] Fix receiver vs lookup start object confusion

Bug: v8:9237,chromium:1308360
Change-Id: I11e3c14a6cecb9d88a834711fb6252191494d5f7
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3545172
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Commit-Queue: Marja Hölttä <marja@chromium.org>
Cr-Commit-Position: refs/heads/main@{#79571}
This commit is contained in:
Marja Hölttä 2022-03-23 12:01:47 +01:00 committed by V8 LUCI CQ
parent 767eef930b
commit 9c3d4b3556

View File

@ -283,7 +283,8 @@ void AccessorAssembler::HandleLoadAccessor(
BIND(&load);
TNode<IntPtrT> argc = IntPtrConstant(0);
exit_point->Return(CallApiCallback(context, callback, argc, data,
api_holder.value(), p->receiver()));
api_holder.value(),
p->lookup_start_object()));
}
void AccessorAssembler::HandleLoadField(TNode<JSObject> holder,