|
| ArrayMessageSerializationCluster (Zone *zone, bool is_canonical, intptr_t cid) |
|
| ~ArrayMessageSerializationCluster () |
|
void | Trace (MessageSerializer *s, Object *object) |
|
void | WriteNodes (MessageSerializer *s) |
|
void | WriteEdges (MessageSerializer *s) |
|
void | TraceApi (ApiMessageSerializer *s, Dart_CObject *object) |
|
void | WriteNodesApi (ApiMessageSerializer *s) |
|
void | WriteEdgesApi (ApiMessageSerializer *s) |
|
| MessageSerializationCluster (const char *name, MessagePhase phase, intptr_t cid, bool is_canonical=false) |
|
virtual | ~MessageSerializationCluster () |
|
virtual void | Trace (MessageSerializer *s, Object *object)=0 |
|
virtual void | WriteNodes (MessageSerializer *s)=0 |
|
virtual void | WriteEdges (MessageSerializer *s) |
|
virtual void | TraceApi (ApiMessageSerializer *s, Dart_CObject *object) |
|
virtual void | WriteNodesApi (ApiMessageSerializer *s) |
|
virtual void | WriteEdgesApi (ApiMessageSerializer *s) |
|
const char * | name () const |
|
MessagePhase | phase () const |
|
intptr_t | cid () const |
|
bool | is_canonical () const |
|
| ZoneAllocated () |
|
void * | operator new (size_t size) |
|
void * | operator new (size_t size, Zone *zone) |
|
void | operator delete (void *pointer) |
|
Definition at line 2302 of file message_snapshot.cc.
◆ ArrayMessageSerializationCluster()
dart::ArrayMessageSerializationCluster::ArrayMessageSerializationCluster |
( |
Zone * |
zone, |
|
|
bool |
is_canonical, |
|
|
intptr_t |
cid |
|
) |
| |
|
inline |
Definition at line 2304 of file message_snapshot.cc.
2311 objects_(zone, 0) {}
bool is_canonical() const
MessageSerializationCluster(const char *name, MessagePhase phase, intptr_t cid, bool is_canonical=false)
◆ ~ArrayMessageSerializationCluster()
dart::ArrayMessageSerializationCluster::~ArrayMessageSerializationCluster |
( |
| ) |
|
|
inline |
◆ Trace()
Implements dart::MessageSerializationCluster.
Definition at line 2314 of file message_snapshot.cc.
2314 {
2315 Array* array = static_cast<Array*>(object);
2316 objects_.Add(array);
2317
2318
2319 TypeArguments&
args =
2321 if (!
args.IsNull() && (
args.Length() != 1)) {
2323 array->untag()->set_type_arguments(
args.ptr());
2324 }
2325
2326 s->Push(array->untag()->type_arguments());
2329 s->Push(array->untag()->element(
i));
2330 }
2331 }
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
◆ TraceApi()
Reimplemented from dart::MessageSerializationCluster.
Definition at line 2356 of file message_snapshot.cc.
2356 {
2357 objects_.Add(reinterpret_cast<Array*>(object));
2358
2361 }
2362 }
union _Dart_CObject::@86 value
struct _Dart_CObject::@86::@89 as_array
struct _Dart_CObject ** values
◆ WriteEdges()
Reimplemented from dart::MessageSerializationCluster.
Definition at line 2344 of file message_snapshot.cc.
2344 {
2345 const intptr_t
count = objects_.length();
2346 for (intptr_t
i = 0;
i <
count;
i++) {
2347 Array* array = objects_[
i];
2348 intptr_t
length = array->Length();
2349 s->WriteRef(array->untag()->type_arguments());
2350 for (intptr_t j = 0; j <
length; j++) {
2351 s->WriteRef(array->untag()->element(j));
2352 }
2353 }
2354 }
◆ WriteEdgesApi()
◆ WriteNodes()
◆ WriteNodesApi()
The documentation for this class was generated from the following file: