Definition at line 985 of file app_snapshot.cc.
◆ ClassSerializationCluster()
dart::ClassSerializationCluster::ClassSerializationCluster |
( |
intptr_t |
num_cids | ) |
|
|
inlineexplicit |
Definition at line 987 of file app_snapshot.cc.
989 kClassCid,
992 objects_(num_cids) {}
SerializationCluster(const char *name, intptr_t cid, intptr_t target_instance_size=kSizeVaries, bool is_canonical=false)
static word InstanceSize()
◆ ~ClassSerializationCluster()
dart::ClassSerializationCluster::~ClassSerializationCluster |
( |
| ) |
|
|
inline |
◆ Trace()
Implements dart::SerializationCluster.
Definition at line 995 of file app_snapshot.cc.
995 {
997 intptr_t class_id = cls->untag()->id_;
998
1000
1001 s->UnexpectedObject(cls,
"Class with illegal cid");
1002 }
1004
1005
1006
1007 predefined_.
Add(cls);
1008 } else {
1010 }
1011
1013 }
#define PushFromTo(obj,...)
static ObjectPtr RawCast(ObjectPtr obj)
◆ WriteAlloc()
void dart::ClassSerializationCluster::WriteAlloc |
( |
Serializer * |
s | ) |
|
|
inlinevirtual |
Implements dart::SerializationCluster.
Definition at line 1015 of file app_snapshot.cc.
1015 {
1018 for (intptr_t
i = 0;
i <
count;
i++) {
1019 ClassPtr cls = predefined_[
i];
1022 intptr_t class_id = cls->untag()->id_;
1023 s->WriteCid(class_id);
1024 }
1027 for (intptr_t
i = 0;
i <
count;
i++) {
1028 ClassPtr cls = objects_[
i];
1030 }
1031 }
#define AutoTraceObject(obj)
◆ WriteFill()
void dart::ClassSerializationCluster::WriteFill |
( |
Serializer * |
s | ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file: