Definition at line 591 of file message_snapshot.cc.
◆ TypeArgumentsMessageSerializationCluster()
dart::TypeArgumentsMessageSerializationCluster::TypeArgumentsMessageSerializationCluster |
( |
bool |
is_canonical | ) |
|
|
inlineexplicit |
Definition at line 594 of file message_snapshot.cc.
597 kTypeArgumentsCid,
bool is_canonical() const
MessageSerializationCluster(const char *name, MessagePhase phase, intptr_t cid, bool is_canonical=false)
◆ ~TypeArgumentsMessageSerializationCluster()
dart::TypeArgumentsMessageSerializationCluster::~TypeArgumentsMessageSerializationCluster |
( |
| ) |
|
|
inline |
◆ Trace()
Implements dart::MessageSerializationCluster.
Definition at line 601 of file message_snapshot.cc.
601 {
602 TypeArguments* type_args = static_cast<TypeArguments*>(object);
603 objects_.Add(type_args);
604
605 s->Push(type_args->untag()->instantiations());
608 s->Push(type_args->untag()->element(
i));
609 }
610 }
◆ WriteEdges()
void dart::TypeArgumentsMessageSerializationCluster::WriteEdges |
( |
MessageSerializer * |
s | ) |
|
|
inlinevirtual |
Reimplemented from dart::MessageSerializationCluster.
Definition at line 623 of file message_snapshot.cc.
623 {
624 const intptr_t
count = objects_.length();
625 for (intptr_t
i = 0;
i <
count;
i++) {
626 TypeArguments* type_args = objects_[
i];
628 s->Write<int32_t>(
hash);
629 const intptr_t nullability =
630 Smi::Value(type_args->untag()->nullability());
631 s->WriteUnsigned(nullability);
632
635 for (intptr_t j = 0; j <
length; j++) {
636 s->WriteRef(type_args->untag()->element(j));
637 }
638 }
639 }
static uint32_t hash(const SkShaderBase::GradientInfo &v)
◆ WriteNodes()
void dart::TypeArgumentsMessageSerializationCluster::WriteNodes |
( |
MessageSerializer * |
s | ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file: