| Index: src/heap.cc
|
| ===================================================================
|
| --- src/heap.cc (revision 3767)
|
| +++ src/heap.cc (working copy)
|
| @@ -2406,8 +2406,10 @@
|
| String* name = fun->shared()->GetThisPropertyAssignmentName(i);
|
| ASSERT(name->IsSymbol());
|
| FieldDescriptor field(name, i, NONE);
|
| + field.SetEnumerationIndex(i);
|
| descriptors->Set(i, &field);
|
| }
|
| + descriptors->SetNextEnumerationIndex(count);
|
| descriptors->Sort();
|
| map->set_instance_descriptors(descriptors);
|
| map->set_pre_allocated_property_fields(count);
|
|
|