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

Public Member Functions

 Simd128MessageSerializationCluster (intptr_t cid)
 
 ~Simd128MessageSerializationCluster ()
 
void Trace (MessageSerializer *s, Object *object)
 
void WriteNodes (MessageSerializer *s)
 
- Public Member Functions inherited from dart::MessageSerializationCluster
 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
 
- 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::MessageSerializationCluster
 DISALLOW_COPY_AND_ASSIGN (MessageSerializationCluster)
 
- Protected Attributes inherited from dart::MessageSerializationCluster
const char *const name_
 
const MessagePhase phase_
 
const intptr_t cid_
 
const bool is_canonical_
 

Detailed Description

Definition at line 1890 of file message_snapshot.cc.

Constructor & Destructor Documentation

◆ Simd128MessageSerializationCluster()

dart::Simd128MessageSerializationCluster::Simd128MessageSerializationCluster ( intptr_t  cid)
inlineexplicit

Definition at line 1892 of file message_snapshot.cc.

1893 : MessageSerializationCluster("Simd128",
1895 cid) {}
MessageSerializationCluster(const char *name, MessagePhase phase, intptr_t cid, bool is_canonical=false)

◆ ~Simd128MessageSerializationCluster()

dart::Simd128MessageSerializationCluster::~Simd128MessageSerializationCluster ( )
inline

Definition at line 1896 of file message_snapshot.cc.

1896{}

Member Function Documentation

◆ Trace()

void dart::Simd128MessageSerializationCluster::Trace ( MessageSerializer s,
Object object 
)
inlinevirtual

Implements dart::MessageSerializationCluster.

Definition at line 1898 of file message_snapshot.cc.

1898{ objects_.Add(object); }

◆ WriteNodes()

void dart::Simd128MessageSerializationCluster::WriteNodes ( MessageSerializer s)
inlinevirtual

Implements dart::MessageSerializationCluster.

Definition at line 1900 of file message_snapshot.cc.

1900 {
1901 const intptr_t count = objects_.length();
1902 s->WriteUnsigned(count);
1903 for (intptr_t i = 0; i < count; i++) {
1904 Object* vector = objects_[i];
1905 s->AssignRef(vector);
1908 s->WriteBytes(&(static_cast<Int32x4Ptr>(vector->ptr())->untag()->value_),
1909 sizeof(simd128_value_t));
1910 }
1911 }
int count
Definition: FontMgrTest.cpp:50
#define ASSERT_EQUAL(expected, actual)
Definition: assert.h:309
static intptr_t value_offset()
Definition: object.h:11197
static intptr_t value_offset()
Definition: object.h:11266
static intptr_t value_offset()
Definition: object.h:11235
struct MyStruct s

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