| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 9e7a128dc6b763553f722dc31bff21f391833b6d..4a7b0c21f0cf1f7cf7021bf28e8a1f05ae25647b 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -2555,16 +2555,6 @@ class DescriptorArray: public FixedArray {
|
| int src_index,
|
| const WhitenessWitness&);
|
|
|
| - // Copy the descriptor array, inserting new descriptor. Its enumeration index
|
| - // is automatically set to the size of the descriptor array to which it was
|
| - // added first.
|
| - MUST_USE_RESULT MaybeObject* CopyAdd(Descriptor* descriptor);
|
| -
|
| - // Copy the descriptor array, replacing a descriptor. Its enumeration index is
|
| - // kept.
|
| - MUST_USE_RESULT MaybeObject* CopyReplace(Descriptor* descriptor,
|
| - int insertion_index);
|
| -
|
| // Indicates whether the search function should expect a sorted or an unsorted
|
| // descriptor array as input.
|
| enum SharedMode {
|
| @@ -4912,7 +4902,10 @@ class Map: public HeapObject {
|
| MUST_USE_RESULT MaybeObject* CopyWithPreallocatedFieldDescriptors();
|
| MUST_USE_RESULT MaybeObject* CopyDropDescriptors();
|
| MUST_USE_RESULT MaybeObject* CopyReplaceDescriptors(
|
| - DescriptorArray* descriptors, String* name, TransitionFlag flag);
|
| + DescriptorArray* descriptors,
|
| + String* name,
|
| + int last_added,
|
| + TransitionFlag flag);
|
| MUST_USE_RESULT MaybeObject* CopyAddDescriptor(Descriptor* descriptor,
|
| TransitionFlag flag);
|
| MUST_USE_RESULT MaybeObject* CopyInsertDescriptor(Descriptor* descriptor,
|
|
|