Index: src/lookup.cc |
diff --git a/src/lookup.cc b/src/lookup.cc |
index c658a90e63fb816f831d7c82caa931579388cd01..a2ae54df4324e47b2afd7d705b4cd680d27702e1 100644 |
--- a/src/lookup.cc |
+++ b/src/lookup.cc |
@@ -120,7 +120,7 @@ void LookupIterator::PrepareTransitionToDataProperty( |
if (state_ == TRANSITION) return; |
DCHECK(state_ != LookupIterator::ACCESSOR); |
DCHECK(state_ == NOT_FOUND || !HolderIsReceiverOrHiddenPrototype()); |
- |
+ DCHECK(!IsSpecialNumericIndex()); |
// Can only be called when the receiver is a JSObject. JSProxy has to be |
// handled via a trap. Adding properties to primitive values is not |
// observable. |