Index: src/ic/mips/handler-compiler-mips.cc |
diff --git a/src/ic/mips/handler-compiler-mips.cc b/src/ic/mips/handler-compiler-mips.cc |
index 22970169c0663e1eaa643d62fce9678bde60002d..c27e35c04d371bf801f40608dbc487643ed1fe3f 100644 |
--- a/src/ic/mips/handler-compiler-mips.cc |
+++ b/src/ic/mips/handler-compiler-mips.cc |
@@ -710,8 +710,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. |