Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 8a8f5d9b5d4ee8988dfc391d991ec073f97192a8..93e0b39ddd40a19a026f206d057053f32a303105 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -1958,6 +1958,11 @@ void DescriptorArray::set_elements_transition_map( |
} |
+void DescriptorArray::ClearElementsTransition() { |
+ WRITE_FIELD(this, kTransitionsOffset, Smi::FromInt(0)); |
+} |
+ |
+ |
Object** DescriptorArray::GetKeySlot(int descriptor_number) { |
ASSERT(descriptor_number < number_of_descriptors()); |
return HeapObject::RawField( |