Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(425)

Unified Diff: src/objects.h

Issue 11818021: Allocation Info Tracking, continued. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};

Powered by Google App Engine
This is Rietveld 408576698