Definition at line 3737 of file app_snapshot.cc.
◆ ExceptionHandlersSerializationCluster()
dart::ExceptionHandlersSerializationCluster::ExceptionHandlersSerializationCluster |
( |
| ) |
|
|
inline |
Definition at line 3739 of file app_snapshot.cc.
SerializationCluster(const char *name, intptr_t cid, intptr_t target_instance_size=kSizeVaries, bool is_canonical=false)
◆ ~ExceptionHandlersSerializationCluster()
dart::ExceptionHandlersSerializationCluster::~ExceptionHandlersSerializationCluster |
( |
| ) |
|
|
inline |
◆ Trace()
◆ WriteAlloc()
void dart::ExceptionHandlersSerializationCluster::WriteAlloc |
( |
Serializer * |
s | ) |
|
|
inlinevirtual |
Implements dart::SerializationCluster.
Definition at line 3750 of file app_snapshot.cc.
3750 {
3753 for (intptr_t
i = 0;
i <
count;
i++) {
3754 ExceptionHandlersPtr handlers = objects_[
i];
3755 s->AssignRef(handlers);
3757 const intptr_t
length = handlers->untag()->num_entries();
3761 }
3762 }
#define AutoTraceObject(obj)
intptr_t target_memory_size_
static word InstanceSize()
◆ WriteFill()
void dart::ExceptionHandlersSerializationCluster::WriteFill |
( |
Serializer * |
s | ) |
|
|
inlinevirtual |
Implements dart::SerializationCluster.
Definition at line 3764 of file app_snapshot.cc.
3764 {
3766 for (intptr_t
i = 0;
i <
count;
i++) {
3767 ExceptionHandlersPtr handlers = objects_[
i];
3769 const intptr_t packed_fields = handlers->untag()->packed_fields_;
3772 s->WriteUnsigned(packed_fields);
3774 for (intptr_t j = 0; j <
length; j++) {
3775 const ExceptionHandlerInfo&
info = handlers->untag()->data()[j];
3776 s->Write<uint32_t>(
info.handler_pc_offset);
3777 s->Write<int16_t>(
info.outer_try_index);
3778 s->Write<int8_t>(
info.needs_stacktrace);
3779 s->Write<int8_t>(
info.has_catch_all);
3780 s->Write<int8_t>(
info.is_generated);
3781 }
3782 }
3783 }
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
#define WriteCompressedField(obj, name)
static constexpr T decode(S value)
The documentation for this class was generated from the following file: