Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index 9e7a128dc6b763553f722dc31bff21f391833b6d..8904536f7471aa70413e68cc4c927b3134490896 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,7 @@ 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* descs, String* name, int last_add, TransitionFlag flag); |
|
Jakob Kummerow
2012/07/19 12:55:10
nit: for method declarations, one line per argumen
|
| MUST_USE_RESULT MaybeObject* CopyAddDescriptor(Descriptor* descriptor, |
| TransitionFlag flag); |
| MUST_USE_RESULT MaybeObject* CopyInsertDescriptor(Descriptor* descriptor, |