3#ifndef QV4WRITEBARRIER_P_H
4#define QV4WRITEBARRIER_P_H
17#include <private/qv4global_p.h>
18#include <private/qv4enginebase_p.h>
52 template<
typename F,
typename Engine = EngineBase>
55 (std::forward<F>(markFunction))(
engine->memoryManager->markStack());
70 template<
typename HeapType>
73 HeapType *
get()
const {
return reinterpret_cast<HeapType *
>(
wrapped); }
74 operator HeapType *()
const {
return get(); }
77 template <
typename ConvertibleToHeapType>
90 template<
typename HeapType,
int PhantomTag>
104 T* operator->()
const {
return get(); }
105 operator T* ()
const {
return get(); }
115 T*
get()
const {
return ptr; }
Combined button and popup list for selecting options.
Q_ALWAYS_INLINE void fence()
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
unsigned long long quint64
HeapType * operator->() const
void set(QV4::EngineBase *engine, ConvertibleToHeapType *heapObject)
void set(EngineBase *e, T *newVal)
static Q_ALWAYS_INLINE void write(EngineBase *engine, Heap::Base *base, Heap::Base **slot, Heap::Base *value)
static void markCustom(Engine *engine, F &&markFunction)
static constexpr bool isInsertionBarrier
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, ReturnedValue *slot, ReturnedValue value)