Index: src/ic/ia32/handler-compiler-ia32.cc |
diff --git a/src/ic/ia32/handler-compiler-ia32.cc b/src/ic/ia32/handler-compiler-ia32.cc |
index 2666e42d733a580d84b8f70d89dcd61ef9466bb8..b9a1735f2ebce75bf9d16a2259dc111e3dfbcca9 100644 |
--- a/src/ic/ia32/handler-compiler-ia32.cc |
+++ b/src/ic/ia32/handler-compiler-ia32.cc |
@@ -699,8 +699,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. |