From 65aae12e098ee9cb11a1965870406422396bfd83 Mon Sep 17 00:00:00 2001 From: Reece Wilson Date: Wed, 8 Mar 2023 13:03:38 +0000 Subject: [PATCH] [*] Fix: ic.cc crash Last aurora commit: 37233447 --- src/ic/ic.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()) {