Index: runtime/vm/object_id_ring.cc |
=================================================================== |
--- runtime/vm/object_id_ring.cc (revision 30547) |
+++ runtime/vm/object_id_ring.cc (working copy) |
@@ -86,7 +86,7 @@ |
int32_t ObjectIdRing::AllocateNewId(RawObject* raw_obj) { |
- ASSERT(raw_obj->IsHeapObject()); |
+ // TODO(turnidge): Do not enter Smis into the ObjectIdRing. |
Ivan Posva
2013/11/22 22:58:36
I would actually leave the ASSERT in the code, jus
|
int32_t id = NextSerial(); |
ASSERT(id != kInvalidId); |
int32_t cursor = IndexOfId(id); |