parent
37233447b6
commit
65aae12e09
@ -3334,7 +3334,7 @@ Address Runtime_LoadPropertyWithInterceptor(int args_length,
|
|||||||
InterceptorInfo interceptorInfo;
|
InterceptorInfo interceptorInfo;
|
||||||
auto handler = holder->map().cached_property_handler();
|
auto handler = holder->map().cached_property_handler();
|
||||||
|
|
||||||
if (!handler.is_null()) {
|
if (!(handler.is_null() || handler.IsNullOrUndefined())) {
|
||||||
interceptorInfo = InterceptorInfo::cast(handler);
|
interceptorInfo = InterceptorInfo::cast(handler);
|
||||||
} else {
|
} else {
|
||||||
interceptorInfo = holder->GetNamedInterceptor();
|
interceptorInfo = holder->GetNamedInterceptor();
|
||||||
@ -3409,7 +3409,7 @@ Address Runtime_StorePropertyWithInterceptor(int args_length,
|
|||||||
InterceptorInfo interceptorInfo;
|
InterceptorInfo interceptorInfo;
|
||||||
auto handler = receiver->map().cached_property_handler();
|
auto handler = receiver->map().cached_property_handler();
|
||||||
|
|
||||||
if (!handler.is_null()) {
|
if (!(handler.is_null() || handler.IsNullOrUndefined())) {
|
||||||
interceptorInfo = InterceptorInfo::cast(handler);
|
interceptorInfo = InterceptorInfo::cast(handler);
|
||||||
} else {
|
} else {
|
||||||
if (receiver->HasNamedInterceptor()) {
|
if (receiver->HasNamedInterceptor()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user