Definition at line 1498 of file app_snapshot.cc.
◆ TypeArgumentsSerializationCluster()
dart::TypeArgumentsSerializationCluster::TypeArgumentsSerializationCluster |
( |
bool |
is_canonical, |
|
|
bool |
represents_canonical_set |
|
) |
| |
|
inline |
Definition at line 1503 of file app_snapshot.cc.
1507 represents_canonical_set,
1508 "TypeArguments") {}
CanonicalSetSerializationCluster(intptr_t cid, bool is_canonical, bool represents_canonical_set, const char *name, intptr_t target_instance_size=0)
bool is_canonical() const
◆ ~TypeArgumentsSerializationCluster()
dart::TypeArgumentsSerializationCluster::~TypeArgumentsSerializationCluster |
( |
| ) |
|
|
inline |
◆ Trace()
Implements dart::SerializationCluster.
Definition at line 1511 of file app_snapshot.cc.
1511 {
1514
1515 s->Push(type_args->untag()->instantiations());
1518 s->Push(type_args->untag()->element(
i));
1519 }
1520 }
GrowableArray< TypeArgumentsPtr > objects_
static ObjectPtr RawCast(ObjectPtr obj)
◆ WriteAlloc()
void dart::TypeArgumentsSerializationCluster::WriteAlloc |
( |
Serializer * |
s | ) |
|
|
inlinevirtual |
Implements dart::SerializationCluster.
Definition at line 1522 of file app_snapshot.cc.
1522 {
1526 for (intptr_t
i = 0;
i <
count;
i++) {
1527 TypeArgumentsPtr type_args =
objects_[
i];
1528 s->AssignRef(type_args);
1534 }
1536 }
#define AutoTraceObject(obj)
void ReorderObjects(Serializer *s)
void WriteCanonicalSetLayout(Serializer *s)
intptr_t target_memory_size_
static word InstanceSize()
◆ WriteFill()
void dart::TypeArgumentsSerializationCluster::WriteFill |
( |
Serializer * |
s | ) |
|
|
inlinevirtual |
Implements dart::SerializationCluster.
Definition at line 1538 of file app_snapshot.cc.
1538 {
1540 for (intptr_t
i = 0;
i <
count;
i++) {
1541 TypeArgumentsPtr type_args =
objects_[
i];
1546 s->Write<int32_t>(
hash);
1547 const intptr_t nullability =
1548 Smi::Value(type_args->untag()->nullability());
1549 s->WriteUnsigned(nullability);
1551 for (intptr_t j = 0; j <
length; j++) {
1552 s->WriteElementRef(type_args->untag()->element(j), j);
1553 }
1554 }
1555 }
static uint32_t hash(const SkShaderBase::GradientInfo &v)
#define WriteField(obj, field)
The documentation for this class was generated from the following file: