Definition at line 1992 of file app_snapshot.cc.
◆ ClosureDataSerializationCluster()
dart::ClosureDataSerializationCluster::ClosureDataSerializationCluster |
( |
| ) |
|
|
inline |
Definition at line 1994 of file app_snapshot.cc.
1996 kClosureDataCid,
SerializationCluster(const char *name, intptr_t cid, intptr_t target_instance_size=kSizeVaries, bool is_canonical=false)
static word InstanceSize()
◆ ~ClosureDataSerializationCluster()
dart::ClosureDataSerializationCluster::~ClosureDataSerializationCluster |
( |
| ) |
|
|
inline |
◆ Trace()
Implements dart::SerializationCluster.
Definition at line 2000 of file app_snapshot.cc.
2000 {
2003
2005 s->Push(
data->untag()->context_scope());
2006 }
2007 s->Push(
data->untag()->parent_function());
2008 s->Push(
data->untag()->closure());
2009 }
static ObjectPtr RawCast(ObjectPtr obj)
static int8_t data[kExtLength]
◆ WriteAlloc()
void dart::ClosureDataSerializationCluster::WriteAlloc |
( |
Serializer * |
s | ) |
|
|
inlinevirtual |
◆ WriteFill()
void dart::ClosureDataSerializationCluster::WriteFill |
( |
Serializer * |
s | ) |
|
|
inlinevirtual |
Implements dart::SerializationCluster.
Definition at line 2020 of file app_snapshot.cc.
2020 {
2022 for (intptr_t
i = 0;
i <
count;
i++) {
2023 ClosureDataPtr
data = objects_[
i];
2027 }
2030 s->WriteUnsigned(
static_cast<uint32_t
>(
data->untag()->packed_fields_));
2031 }
2032 }
#define AutoTraceObject(obj)
#define WriteCompressedField(obj, name)
std::function< void()> closure
The documentation for this class was generated from the following file: