Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index 1dc3865fd6009b6bf15e901c4b75cbabb1ca3f9a..95986986fe0d326ad2b8658af510cf84fdd6b767 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -4171,6 +4171,11 @@ class TypeFeedbackCells: public FixedArray { |
| // The object that indicates a megamorphic state. |
| static inline Handle<Object> MegamorphicSentinel(Isolate* isolate); |
| + // The object that indicates a monomorphic state of Array with |
| + // ElementsKind |
| + static inline Handle<Object> MonomorphicArraySentinel( |
| + ElementsKind elements_kind); |
| + |
| // A raw version of the uninitialized sentinel that's safe to read during |
| // garbage collection (e.g., for patching the cache). |
| static inline Object* RawUninitializedSentinel(Heap* heap); |
| @@ -6978,6 +6983,8 @@ enum AllocationSiteMode { |
| }; |
| + |
|
Toon Verwaest
2013/02/13 15:14:51
Remove.
Toon Verwaest
2013/02/21 12:13:03
... remove.
On 2013/02/13 15:14:51, Toon Verwaest
mvstanton
2013/02/27 14:37:07
Done.
|
| + |
| class AllocationSiteInfo: public Struct { |
| public: |
| DECL_ACCESSORS(payload, Object) |
| @@ -6996,6 +7003,7 @@ class AllocationSiteInfo: public Struct { |
| static const int kPayloadOffset = HeapObject::kHeaderSize; |
| static const int kSize = kPayloadOffset + kPointerSize; |
| + bool GetElementsKindPayload(ElementsKind* kind); |
| private: |
| DISALLOW_IMPLICIT_CONSTRUCTORS(AllocationSiteInfo); |
| }; |