Index: src/objects-inl.h |
=================================================================== |
--- src/objects-inl.h (revision 2331) |
+++ src/objects-inl.h (working copy) |
@@ -2642,7 +2642,7 @@ |
Object* key, |
Object* value, |
PropertyDetails details) { |
- ASSERT(!Shape::kIsEnumerable || details.index() > 0); |
+ ASSERT(!key->IsString() || details.index() > 0); |
int index = HashTable<Shape, Key>::EntryToIndex(entry); |
WriteBarrierMode mode = FixedArray::GetWriteBarrierMode(); |
FixedArray::set(index, key, mode); |