Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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()

◆ write() [1/2]

static 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.

References base, engine, and write_slowpath().

+ Here is the call graph for this function:

◆ write() [2/2]

static 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.

References base, engine, and write_slowpath().

Referenced by QV4::Heap::DECLARE_EXPORTED_HEAP_OBJECT(), QV4::Moth::VME::interpret(), QV4::Heap::Pointer< T, o >::set(), and QV4::PropertyIndex::set().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ 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.

References base, engine, isInsertionBarrier, and Q_UNUSED.

◆ 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.

References base, engine, QV4::Value::fromReturnedValue(), isInsertionBarrier, and Q_UNUSED.

Referenced by write(), and write().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ isInsertionBarrier


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