Index: src/ic/x87/handler-compiler-x87.cc |
diff --git a/src/ic/x87/handler-compiler-x87.cc b/src/ic/x87/handler-compiler-x87.cc |
index f5267076ec62ed83dbcba554677a8599b18eb25d..0b9b36fc47ad7ea479c4d051b166259ebff856dc 100644 |
--- a/src/ic/x87/handler-compiler-x87.cc |
+++ b/src/ic/x87/handler-compiler-x87.cc |
@@ -747,8 +747,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. |