Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index 89d28099f69cf6595b364a4948e82057a7ea9b95..4cbf2bd75d5f73d871c89e0be423321254c1f444 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -2569,6 +2569,9 @@ class DescriptorArray: public FixedArray { |
| // If adding a real property, map transitions must be removed. If adding |
| // a transition, they must not be removed. All null descriptors are removed. |
| MUST_USE_RESULT MaybeObject* CopyInsert(Descriptor* descriptor); |
| + MUST_USE_RESULT MaybeObject* CopyAdd(Descriptor* descriptor); |
| + MUST_USE_RESULT MaybeObject* CopyReplace( |
| + int insertion_index, Descriptor* descriptor); |
|
Michael Starzinger
2012/07/12 13:17:42
To me it seems more intuitive to switch those two
|
| // Indicates whether the search function should expect a sorted or an unsorted |
| // descriptor array as input. |