Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index cd853809c2599d242d4b384b07adda6ea011e179..9e7a128dc6b763553f722dc31bff21f391833b6d 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2544,8 +2544,9 @@ class DescriptorArray: public FixedArray { |
// Append automatically sets the enumeration index. This should only be used |
// to add descriptors in bulk at the end, followed by sorting the descriptor |
// array. |
- inline void Append(Descriptor* desc, |
- const WhitenessWitness&); |
+ inline int Append(Descriptor* desc, |
+ const WhitenessWitness&, |
+ int number_of_set_descriptors); |
// Transfer a complete descriptor from the src descriptor array to this |
// descriptor array. |
@@ -4925,6 +4926,9 @@ class Map: public HeapObject { |
MUST_USE_RESULT MaybeObject* CopyNormalized(PropertyNormalizationMode mode, |
NormalizedMapSharingMode sharing); |
+ inline void AppendDescriptor(Descriptor* desc, |
+ const DescriptorArray::WhitenessWitness&); |
+ |
// Returns a copy of the map, with all transitions dropped from the |
// instance descriptors. |
MUST_USE_RESULT MaybeObject* Copy(DescriptorArray::SharedMode shared_mode); |