Index: src/lookup-inl.h |
diff --git a/src/lookup-inl.h b/src/lookup-inl.h |
index cc7378892562afda7bda425973d2ee699917cccc..d4777a0baa80282e742c6d086250851e909f2cdc 100644 |
--- a/src/lookup-inl.h |
+++ b/src/lookup-inl.h |
@@ -47,7 +47,6 @@ LookupIterator::State LookupIterator::LookupInHolder(Map* map, |
// Fall through. |
case INTERCEPTOR: |
if (map->is_dictionary_map()) { |
- if (holder == NULL) return UNKNOWN; |
NameDictionary* dict = JSObject::cast(holder)->property_dictionary(); |
number_ = dict->FindEntry(name_); |
if (number_ == NameDictionary::kNotFound) return NOT_FOUND; |
@@ -74,7 +73,6 @@ LookupIterator::State LookupIterator::LookupInHolder(Map* map, |
} |
case ACCESSOR: |
case DATA: |
- case UNKNOWN: |
return NOT_FOUND; |
case JSPROXY: |
case TRANSITION: |