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

Unified Diff: runtime/vm/raw_object.h

Issue 2301143002: The psuedo-objects are not instances: give them cids above kInstanceCid. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/raw_object.h
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
index 03969a39247a51554e3e922d57cac9bdc6df5155..e249fdede7a89374b786a7bd893b409042746bd9 100644
--- a/runtime/vm/raw_object.h
+++ b/runtime/vm/raw_object.h
@@ -150,6 +150,13 @@ enum ClassId {
// Illegal class id.
kIllegalCid = 0,
+ // The following entries describes classes for pseudo-objects in the heap
+ // that should never be reachable from live objects. Free list elements
+ // maintain the free list for old space, and forwarding corpses are used to
+ // implement one-way become.
+ kFreeListElement,
+ kForwardingCorpse,
+
// List of Ids for predefined classes.
#define DEFINE_OBJECT_KIND(clazz) \
k##clazz##Cid,
@@ -181,13 +188,6 @@ CLASS_LIST_TYPED_DATA(DEFINE_OBJECT_KIND)
kDynamicCid,
kVoidCid,
- // The following entries describes classes for pseudo-objects in the heap
- // that should never be reachable from live objects. Free list elements
- // maintain the free list for old space, and forwarding corpses are used to
- // implement one-way become.
- kFreeListElement,
- kForwardingCorpse,
-
kNumPredefinedCids,
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698