Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QV4::WriteBarrier Struct Reference

#include <qv4writebarrier_p.h>

Collaboration diagram for QV4::WriteBarrier:

Classes

struct  HeapObjectWrapper
struct  HeapObjectWrapperBase
struct  HeapObjectWrapperCommon
struct  Pointer

Static Public Member Functions

static Q_ALWAYS_INLINE void write (EngineBase *engine, Heap::Base *base, ReturnedValue *slot, ReturnedValue value)
Q_QML_EXPORT static Q_NEVER_INLINE void write_slowpath (EngineBase *engine, Heap::Base *base, ReturnedValue *slot, ReturnedValue value)
static Q_ALWAYS_INLINE void write (EngineBase *engine, Heap::Base *base, Heap::Base **slot, Heap::Base *value)
Q_QML_EXPORT static Q_NEVER_INLINE void write_slowpath (EngineBase *engine, Heap::Base *base, Heap::Base **slot, Heap::Base *value)
template<typename F, typename Engine = EngineBase>
static void markCustom (Engine *engine, F &&markFunction)

Static Public Attributes

static constexpr bool isInsertionBarrier = true

Detailed Description

Definition at line 26 of file qv4writebarrier_p.h.

Member Function Documentation

◆ markCustom()

template<typename F, typename Engine = EngineBase>
void QV4::WriteBarrier::markCustom ( Engine * engine,
F && markFunction )
inlinestatic

Definition at line 53 of file qv4writebarrier_p.h.

◆ write() [1/2]

Q_ALWAYS_INLINE void QV4::WriteBarrier::write ( EngineBase * engine,
Heap::Base * base,
Heap::Base ** slot,
Heap::Base * value )
inlinestatic

Definition at line 40 of file qv4writebarrier_p.h.

◆ write() [2/2]

Q_ALWAYS_INLINE void QV4::WriteBarrier::write ( EngineBase * engine,
Heap::Base * base,
ReturnedValue * slot,
ReturnedValue value )
inlinestatic

Definition at line 30 of file qv4writebarrier_p.h.

◆ write_slowpath() [1/2]

void QV4::WriteBarrier::write_slowpath ( EngineBase * engine,
Heap::Base * base,
Heap::Base ** slot,
Heap::Base * value )
static

Definition at line 26 of file qv4writebarrier.cpp.

◆ write_slowpath() [2/2]

void QV4::WriteBarrier::write_slowpath ( EngineBase * engine,
Heap::Base * base,
ReturnedValue * slot,
ReturnedValue value )
static

Definition at line 17 of file qv4writebarrier.cpp.

Member Data Documentation

◆ isInsertionBarrier

bool QV4::WriteBarrier::isInsertionBarrier = true
staticconstexpr

Definition at line 28 of file qv4writebarrier_p.h.


The documentation for this struct was generated from the following files: