Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 530fb6d804d5d7eb5a4bccd380eaa40b60733ff3..78441de17c209061c476767226536fb66714f48f 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -9306,6 +9306,7 @@ void Map::ClearNonLiveTransitions(Heap* heap) { |
if (number_of_own_descriptors > 0) { |
TrimDescriptorArray(heap, this, descriptors, number_of_own_descriptors); |
ASSERT(descriptors->number_of_descriptors() == number_of_own_descriptors); |
+ map->set_owns_descriptors(true); |
} else { |
ASSERT(descriptors == GetHeap()->empty_descriptor_array()); |
} |