Definition at line 3834 of file app_snapshot.cc.
◆ ContextSerializationCluster()
dart::ContextSerializationCluster::ContextSerializationCluster |
( |
| ) |
|
|
inline |
Definition at line 3836 of file app_snapshot.cc.
SerializationCluster(const char *name, intptr_t cid, intptr_t target_instance_size=kSizeVaries, bool is_canonical=false)
◆ ~ContextSerializationCluster()
dart::ContextSerializationCluster::~ContextSerializationCluster |
( |
| ) |
|
|
inline |
◆ Trace()
Implements dart::SerializationCluster.
Definition at line 3840 of file app_snapshot.cc.
3840 {
3842 objects_.
Add(context);
3843
3844 s->Push(context->untag()->parent());
3845 const intptr_t
length = context->untag()->num_variables_;
3847 s->Push(context->untag()->element(
i));
3848 }
3849 }
static ObjectPtr RawCast(ObjectPtr obj)
◆ WriteAlloc()
void dart::ContextSerializationCluster::WriteAlloc |
( |
Serializer * |
s | ) |
|
|
inlinevirtual |
Implements dart::SerializationCluster.
Definition at line 3851 of file app_snapshot.cc.
3851 {
3854 for (intptr_t
i = 0;
i <
count;
i++) {
3855 ContextPtr context = objects_[
i];
3856 s->AssignRef(context);
3858 const intptr_t
length = context->untag()->num_variables_;
3861 }
3862 }
#define AutoTraceObject(obj)
intptr_t target_memory_size_
static word InstanceSize()
◆ WriteFill()
void dart::ContextSerializationCluster::WriteFill |
( |
Serializer * |
s | ) |
|
|
inlinevirtual |
Implements dart::SerializationCluster.
Definition at line 3864 of file app_snapshot.cc.
3864 {
3866 for (intptr_t
i = 0;
i <
count;
i++) {
3867 ContextPtr context = objects_[
i];
3869 const intptr_t
length = context->untag()->num_variables_;
3872 for (intptr_t j = 0; j <
length; j++) {
3873 s->WriteElementRef(context->untag()->element(j), j);
3874 }
3875 }
3876 }
#define WriteField(obj, field)
The documentation for this class was generated from the following file: