Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 757ccb5af75f7006e361edc31e3859a5c8b44a02..fbb0183815083b93fe410b498c968372f7f71df4 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -2095,6 +2095,7 @@ void DescriptorArray::Set(int descriptor_number, |
const WhitenessWitness&) { |
// Range check. |
ASSERT(descriptor_number < number_of_descriptors()); |
+ ASSERT(desc->GetDetails().index() > 0); |
NoIncrementalWriteBarrierSet(this, |
ToKeyIndex(descriptor_number), |