diff options
Diffstat (limited to 'src/qml/jsruntime/qv4engine_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4engine_p.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4engine_p.h b/src/qml/jsruntime/qv4engine_p.h index 6de087a4e2..0492191747 100644 --- a/src/qml/jsruntime/qv4engine_p.h +++ b/src/qml/jsruntime/qv4engine_p.h @@ -97,6 +97,10 @@ private: friend struct ExecutionContext; friend struct Heap::ExecutionContext; public: + // This must be the first member, so that its offset is a multiple of QT_POINTER_SIZE + // as the base class's size is. + Runtime runtime; + qint32 callDepth; MemoryManager *memoryManager; @@ -108,8 +112,6 @@ public: Value *jsStackLimit; - Runtime runtime; - WTF::BumpPointerAllocator *bumperPointerAllocator; // Used by Yarr Regex engine. enum { JSStackLimit = 4*1024*1024 }; |