BUG=340254
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
179733004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19546
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
DescriptorArray* to_replace = instance_descriptors();
Map* current = this;
+ GetHeap()->incremental_marking()->RecordWrites(to_replace);
while (current->instance_descriptors() == to_replace) {
current->SetEnumLength(kInvalidEnumCacheSentinel);
current->set_instance_descriptors(new_descriptors);
Map* map;
// Replace descriptors by new_descriptors in all maps that share it.
+
+ GetHeap()->incremental_marking()->RecordWrites(descriptors);
for (Object* current = GetBackPointer();
!current->IsUndefined();
current = map->GetBackPointer()) {