| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index fa609e01f4631a184b911677e7a5d2a97c80260d..7b915371616863782650b973e22d331f4c0806e6 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -888,13 +888,13 @@ Handle<Code> Factory::CopyCode(Handle<Code> code, Vector<byte> reloc_info) {
|
| }
|
|
|
|
|
| -MUST_USE_RESULT static inline MaybeObject* DoCopyInsert(
|
| +MUST_USE_RESULT static inline MaybeObject* DoCopyAdd(
|
| DescriptorArray* array,
|
| String* key,
|
| Object* value,
|
| PropertyAttributes attributes) {
|
| CallbacksDescriptor desc(key, value, attributes, 0);
|
| - MaybeObject* obj = array->CopyInsert(&desc);
|
| + MaybeObject* obj = array->CopyAdd(&desc);
|
| return obj;
|
| }
|
|
|
| @@ -906,7 +906,7 @@ Handle<DescriptorArray> Factory::CopyAppendForeignDescriptor(
|
| Handle<Object> value,
|
| PropertyAttributes attributes) {
|
| CALL_HEAP_FUNCTION(isolate(),
|
| - DoCopyInsert(*array, *key, *value, attributes),
|
| + DoCopyAdd(*array, *key, *value, attributes),
|
| DescriptorArray);
|
| }
|
|
|
|
|