| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 8084474a9be9351c83df10d187d7dbabfd6c1aec..ec019f96817adb09c2422e9eafa8b6b64b9ccabd 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -6459,12 +6459,16 @@ class Map: public HeapObject {
|
| // is found by re-transitioning from the root of the transition tree using the
|
| // descriptor array of the map. Returns NULL if no updated map is found.
|
| // This method also applies any pending migrations along the prototype chain.
|
| - static MaybeHandle<Map> CurrentMapForDeprecated(Handle<Map> map)
|
| - V8_WARN_UNUSED_RESULT;
|
| + static MaybeHandle<Map> TryUpdate(Handle<Map> map) V8_WARN_UNUSED_RESULT;
|
| // Same as above, but does not touch the prototype chain.
|
| - static MaybeHandle<Map> CurrentMapForDeprecatedInternal(Handle<Map> map)
|
| + static MaybeHandle<Map> TryUpdateInternal(Handle<Map> map)
|
| V8_WARN_UNUSED_RESULT;
|
|
|
| + // Returns a non-deprecated version of the input. This method may deprecate
|
| + // existing maps along the way if encodings conflict. Not for use while
|
| + // gathering type feedback. Use TryUpdate in those cases instead.
|
| + static Handle<Map> Update(Handle<Map> map);
|
| +
|
| static Handle<Map> CopyDropDescriptors(Handle<Map> map);
|
| static Handle<Map> CopyInsertDescriptor(Handle<Map> map,
|
| Descriptor* descriptor,
|
|
|