Index: src/lookup-inl.h |
diff --git a/src/lookup-inl.h b/src/lookup-inl.h |
index ae09b545d9095dea90b9c44efea0b51af428aeee..a801e3493e54124c2bc211daa7c2afe0f4b2747f 100644 |
--- a/src/lookup-inl.h |
+++ b/src/lookup-inl.h |
@@ -62,6 +62,7 @@ LookupIterator::State LookupIterator::LookupInHolder(Map* const map, |
number_ = dict->FindEntry(name_); |
if (number_ == NameDictionary::kNotFound) return NOT_FOUND; |
if (holder->IsGlobalObject()) { |
+ DCHECK(dict->ValueAt(number_)->IsPropertyCell()); |
PropertyCell* cell = PropertyCell::cast(dict->ValueAt(number_)); |
if (cell->value()->IsTheHole()) return NOT_FOUND; |
} |