Author: [email protected]
Date: Thu Jul  2 01:07:56 2009
New Revision: 2332

Modified:
    branches/bleeding_edge/src/objects-inl.h

Log:
Reverted change to ASSERT is void Dictionary<Shape, Key>::SetEntry.

Review URL: http://codereview.chromium.org/150212

Modified: branches/bleeding_edge/src/objects-inl.h
==============================================================================
--- branches/bleeding_edge/src/objects-inl.h    (original)
+++ branches/bleeding_edge/src/objects-inl.h    Thu Jul  2 01:07:56 2009
@@ -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);

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to