Commit 70f67d6e authored by bak@chromium.org's avatar bak@chromium.org

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

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2332 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 1058f300
......@@ -2642,7 +2642,7 @@ void Dictionary<Shape, Key>::SetEntry(int entry,
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment