[*] Fix: ic.cc crash

Last aurora commit: 37233447
This commit is contained in:
Reece Wilson 2023-03-08 13:03:38 +00:00
parent 37233447b6
commit 65aae12e09

View File

@ -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()) {