Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::RegExpDeserializationCluster Class Reference
Inheritance diagram for dart::RegExpDeserializationCluster:
dart::DeserializationCluster dart::ZoneAllocated

Public Member Functions

 RegExpDeserializationCluster ()
 
 ~RegExpDeserializationCluster ()
 
void ReadAlloc (Deserializer *d) override
 
void ReadFill (Deserializer *d_) override
 
- Public Member Functions inherited from dart::DeserializationCluster
 DeserializationCluster (const char *name, bool is_canonical=false, bool is_immutable=false)
 
virtual ~DeserializationCluster ()
 
virtual void ReadAlloc (Deserializer *deserializer)=0
 
virtual void ReadFill (Deserializer *deserializer)=0
 
virtual void PostLoad (Deserializer *deserializer, const Array &refs)
 
const char * name () const
 
bool is_canonical () const
 
- Public Member Functions inherited from dart::ZoneAllocated
 ZoneAllocated ()
 
void * operator new (size_t size)
 
void * operator new (size_t size, Zone *zone)
 
void operator delete (void *pointer)
 

Additional Inherited Members

- Protected Member Functions inherited from dart::DeserializationCluster
void ReadAllocFixedSize (Deserializer *deserializer, intptr_t instance_size)
 
- Protected Attributes inherited from dart::DeserializationCluster
const char *const name_
 
const bool is_canonical_
 
const bool is_immutable_
 
intptr_t start_index_
 
intptr_t stop_index_
 

Detailed Description

Definition at line 6116 of file app_snapshot.cc.

Constructor & Destructor Documentation

◆ RegExpDeserializationCluster()

dart::RegExpDeserializationCluster::RegExpDeserializationCluster ( )
inline

Definition at line 6118 of file app_snapshot.cc.

6118: DeserializationCluster("RegExp") {}
DeserializationCluster(const char *name, bool is_canonical=false, bool is_immutable=false)

◆ ~RegExpDeserializationCluster()

dart::RegExpDeserializationCluster::~RegExpDeserializationCluster ( )
inline

Definition at line 6119 of file app_snapshot.cc.

6119{}

Member Function Documentation

◆ ReadAlloc()

void dart::RegExpDeserializationCluster::ReadAlloc ( Deserializer d)
inlineoverridevirtual

Implements dart::DeserializationCluster.

Definition at line 6121 of file app_snapshot.cc.

6121 {
6123 }
void ReadAllocFixedSize(Deserializer *deserializer, intptr_t instance_size)
static intptr_t InstanceSize()
Definition: object.h:12901
VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE auto & d
Definition: main.cc:19

◆ ReadFill()

void dart::RegExpDeserializationCluster::ReadFill ( Deserializer d_)
inlineoverridevirtual

Implements dart::DeserializationCluster.

Definition at line 6125 of file app_snapshot.cc.

6125 {
6126 Deserializer::Local d(d_);
6127
6128 ASSERT(!is_canonical()); // Never canonical.
6129 for (intptr_t id = start_index_, n = stop_index_; id < n; id++) {
6130 RegExpPtr regexp = static_cast<RegExpPtr>(d.Ref(id));
6131 Deserializer::InitializeHeader(regexp, kRegExpCid,
6133 d.ReadFromTo(regexp);
6134 regexp->untag()->num_one_byte_registers_ = d.Read<int32_t>();
6135 regexp->untag()->num_two_byte_registers_ = d.Read<int32_t>();
6136 regexp->untag()->type_flags_ = d.Read<int8_t>();
6137 }
6138 }
static void InitializeHeader(ObjectPtr raw, intptr_t cid, intptr_t size, bool is_canonical=false)
#define ASSERT(E)

The documentation for this class was generated from the following file: