Definition at line 2390 of file app_snapshot.cc.
◆ LibrarySerializationCluster()
dart::LibrarySerializationCluster::LibrarySerializationCluster |
( |
| ) |
|
|
inline |
Definition at line 2392 of file app_snapshot.cc.
2394 kLibraryCid,
SerializationCluster(const char *name, intptr_t cid, intptr_t target_instance_size=kSizeVaries, bool is_canonical=false)
static word InstanceSize()
◆ ~LibrarySerializationCluster()
dart::LibrarySerializationCluster::~LibrarySerializationCluster |
( |
| ) |
|
|
inline |
◆ Trace()
◆ WriteAlloc()
void dart::LibrarySerializationCluster::WriteAlloc |
( |
Serializer * |
s | ) |
|
|
inlinevirtual |
◆ WriteFill()
void dart::LibrarySerializationCluster::WriteFill |
( |
Serializer * |
s | ) |
|
|
inlinevirtual |
Implements dart::SerializationCluster.
Definition at line 2413 of file app_snapshot.cc.
2413 {
2415 for (intptr_t
i = 0;
i <
count;
i++) {
2416 LibraryPtr lib = objects_[
i];
2419 s->Write<int32_t>(lib->untag()->index_);
2420 s->Write<uint16_t>(lib->untag()->num_imports_);
2421 s->Write<int8_t>(lib->untag()->load_state_);
2422 s->Write<uint8_t>(lib->untag()->flags_);
2424 s->Write<uint32_t>(lib->untag()->kernel_library_index_);
2425 }
2426 }
2427 }
#define WriteFromTo(obj,...)
#define AutoTraceObjectName(obj, str)
The documentation for this class was generated from the following file: