Index: src/ic/x64/handler-compiler-x64.cc |
diff --git a/src/ic/x64/handler-compiler-x64.cc b/src/ic/x64/handler-compiler-x64.cc |
index 6224aca51e98b250178276199e85ef8ef76fd32b..399b96ff17a1f64b8bba962646d18b94d1aab958 100644 |
--- a/src/ic/x64/handler-compiler-x64.cc |
+++ b/src/ic/x64/handler-compiler-x64.cc |
@@ -694,8 +694,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. |