| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 89ebf210e552645ac1732540985439d28516f092..cce18fb26067b064183c5d5b8d081bc40f0ec3c5 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -1710,6 +1710,8 @@ class JSObject: public JSReceiver {
|
| bool HasDictionaryArgumentsElements();
|
| inline SeededNumberDictionary* element_dictionary(); // Gets slow elements.
|
|
|
| + inline bool ShouldTrackAllocationInfo();
|
| +
|
| inline void set_map_and_elements(
|
| Map* map,
|
| FixedArrayBase* value,
|
| @@ -7165,9 +7167,9 @@ class AllocationSiteInfo: public Struct {
|
|
|
| // Returns NULL if no AllocationSiteInfo is available for object.
|
| static AllocationSiteInfo* FindForJSObject(JSObject* object);
|
| -
|
| - static AllocationSiteMode GetMode(ElementsKind boilerplate_elements_kind);
|
| - static AllocationSiteMode GetMode(ElementsKind from, ElementsKind to);
|
| + static inline AllocationSiteMode GetMode(
|
| + ElementsKind boilerplate_elements_kind);
|
| + static inline AllocationSiteMode GetMode(ElementsKind from, ElementsKind to);
|
|
|
| static const int kPayloadOffset = HeapObject::kHeaderSize;
|
| static const int kSize = kPayloadOffset + kPointerSize;
|
|
|