diff --git a/src/ic/ic.cc b/src/ic/ic.cc index 9cb9a5c346..a7647fba69 100644 --- a/src/ic/ic.cc +++ b/src/ic/ic.cc @@ -3334,7 +3334,7 @@ Address Runtime_LoadPropertyWithInterceptor(int args_length, InterceptorInfo interceptorInfo; auto handler = holder->map().cached_property_handler(); - if (!handler.is_null()) { + if (!(handler.is_null() || handler.IsNullOrUndefined())) { interceptorInfo = InterceptorInfo::cast(handler); } else { interceptorInfo = holder->GetNamedInterceptor(); @@ -3409,7 +3409,7 @@ Address Runtime_StorePropertyWithInterceptor(int args_length, InterceptorInfo interceptorInfo; auto handler = receiver->map().cached_property_handler(); - if (!handler.is_null()) { + if (!(handler.is_null() || handler.IsNullOrUndefined())) { interceptorInfo = InterceptorInfo::cast(handler); } else { if (receiver->HasNamedInterceptor()) {