Definition at line 1021 of file message_snapshot.cc.
◆ GrowableObjectArrayMessageSerializationCluster()
dart::GrowableObjectArrayMessageSerializationCluster::GrowableObjectArrayMessageSerializationCluster |
( |
| ) |
|
|
inline |
Definition at line 1024 of file message_snapshot.cc.
1027 kGrowableObjectArrayCid) {}
MessageSerializationCluster(const char *name, MessagePhase phase, intptr_t cid, bool is_canonical=false)
◆ ~GrowableObjectArrayMessageSerializationCluster()
dart::GrowableObjectArrayMessageSerializationCluster::~GrowableObjectArrayMessageSerializationCluster |
( |
| ) |
|
|
inline |
◆ Trace()
Implements dart::MessageSerializationCluster.
Definition at line 1030 of file message_snapshot.cc.
1030 {
1031 GrowableObjectArray* array = static_cast<GrowableObjectArray*>(object);
1032 objects_.Add(array);
1033
1034
1035 TypeArguments&
args =
1037 if (!
args.IsNull() && (
args.Length() != 1)) {
1039 array->untag()->set_type_arguments(
args.ptr());
1040 }
1041
1042 s->Push(array->untag()->type_arguments());
1043 for (intptr_t
i = 0, n = array->Length();
i < n;
i++) {
1044 s->Push(array->At(
i));
1045 }
1046 }
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
◆ WriteEdges()
void dart::GrowableObjectArrayMessageSerializationCluster::WriteEdges |
( |
MessageSerializer * |
s | ) |
|
|
inlinevirtual |
Reimplemented from dart::MessageSerializationCluster.
Definition at line 1058 of file message_snapshot.cc.
1058 {
1059 const intptr_t
count = objects_.length();
1060 for (intptr_t
i = 0;
i <
count;
i++) {
1061 GrowableObjectArray* array = objects_[
i];
1062 s->WriteRef(array->untag()->type_arguments());
1063 for (intptr_t
i = 0, n = array->Length();
i < n;
i++) {
1064 s->WriteRef(array->At(
i));
1065 }
1066 }
1067 }
◆ WriteNodes()
void dart::GrowableObjectArrayMessageSerializationCluster::WriteNodes |
( |
MessageSerializer * |
s | ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file: