| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 275c706d3bc8a8b8ff6f0dc824be8ae4488c428f..b671a98414ceb36c5fe47e1275fe3671148884e4 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -4696,6 +4696,9 @@ class Code: public HeapObject {
|
| };
|
|
|
|
|
| +Map* FindClosestElementsTransition(Map* map, ElementsKind to_kind);
|
| +
|
| +
|
| // All heap objects have a Map that describes their structure.
|
| // A Map contains information about:
|
| // - Size information about the object
|
| @@ -4874,6 +4877,7 @@ class Map: public HeapObject {
|
| MUST_USE_RESULT inline MaybeObject* AddTransition(String* key,
|
| Map* target,
|
| SimpleTransitionFlag flag);
|
| + MaybeObject* AddMissingElementsTransitions(ElementsKind to_kind);
|
| DECL_ACCESSORS(transitions, TransitionArray)
|
| inline void ClearTransitions(Heap* heap,
|
| WriteBarrierMode mode = UPDATE_WRITE_BARRIER);
|
| @@ -5115,7 +5119,6 @@ class Map: public HeapObject {
|
| // elements_kind that's found in |candidates|, or null handle if no match is
|
| // found at all.
|
| Handle<Map> FindTransitionedMap(MapHandleList* candidates);
|
| - Map* FindTransitionedMap(MapList* candidates);
|
|
|
| // Zaps the contents of backing data structures. Note that the
|
| // heap verifier (i.e. VerifyMarkingVisitor) relies on zapping of objects
|
|
|