Index: src/ic/arm64/handler-compiler-arm64.cc |
diff --git a/src/ic/arm64/handler-compiler-arm64.cc b/src/ic/arm64/handler-compiler-arm64.cc |
index 453106e31aacdd7039329e3bf6f9649667bb3404..c9eaa9d226a536a9f1d74932a6c87f19787dfbd7 100644 |
--- a/src/ic/arm64/handler-compiler-arm64.cc |
+++ b/src/ic/arm64/handler-compiler-arm64.cc |
@@ -760,8 +760,7 @@ void NamedLoadHandlerCompiler::GenerateLoadInterceptorWithFollowup( |
!holder().is_identical_to(it->GetHolder<JSObject>()); |
bool must_preserve_receiver_reg = |
!receiver().is(holder_reg) && |
- (it->property_kind() == LookupIterator::ACCESSOR || |
- must_perform_prototype_check); |
+ (it->state() == LookupIterator::ACCESSOR || must_perform_prototype_check); |
// Save necessary data before invoking an interceptor. |
// Requires a frame to make GC aware of pushed pointers. |