Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index 68745dc22f1133bb736406bf0bca563061ef5971..6f2fa2bebe8ceaa83458c05cf08b2f6b9003ca37 100644 |
--- a/src/ic/ic.cc |
+++ b/src/ic/ic.cc |
@@ -2787,7 +2787,8 @@ RUNTIME_FUNCTION(LoadPropertyWithInterceptorOnly) { |
Handle<JSObject> holder = |
args.at<JSObject>(NamedLoadHandlerCompiler::kInterceptorArgsHolderIndex); |
HandleScope scope(isolate); |
- auto res = JSObject::GetPropertyWithInterceptor(holder, receiver, name); |
+ LookupIterator it(receiver, name, holder, LookupIterator::OWN); |
+ auto res = JSObject::GetPropertyWithInterceptor(&it); |
RETURN_FAILURE_IF_SCHEDULED_EXCEPTION(isolate); |
Handle<Object> result; |
if (res.ToHandle(&result)) return *result; |