Index: src/lookup.cc |
diff --git a/src/lookup.cc b/src/lookup.cc |
index 8088f4dc5de7920b9db1504cd2004903f9334ab2..7e8c3fb487338096af93478d38c5ed7c57c41e30 100644 |
--- a/src/lookup.cc |
+++ b/src/lookup.cc |
@@ -118,8 +118,7 @@ void LookupIterator::PrepareTransitionToDataProperty( |
Handle<Object> value, PropertyAttributes attributes, |
Object::StoreFromKeyed store_mode) { |
if (state_ == TRANSITION) return; |
- DCHECK(state_ != LookupIterator::ACCESSOR || |
- GetAccessors()->IsDeclaredAccessorInfo()); |
+ DCHECK(state_ != LookupIterator::ACCESSOR); |
DCHECK(state_ == NOT_FOUND || !HolderIsReceiverOrHiddenPrototype()); |
// Can only be called when the receiver is a JSObject. JSProxy has to be |