History

Changed variable in ScriptObjectV8Proxy because it has to be stored as aligned pointer

ksuprynowicz committed 3 years ago

Commit 41760ee1 parent 6ac25961 file · +1 −1Browse files

Showing the changes to libraries/script-engine/src/v8/ScriptObjectV8Proxy.cpp (1 of 1 file). Show all

Unified · Split

libraries/script-engine/src/v8/ScriptObjectV8Proxy.cpp+1−1
@@ -41,7 +41,7 @@ Q_DECLARE_METATYPE(QSharedPointer<ScriptVariantV8Proxy>) · 40 unmodified lines
41// Value of internal field with index 0 when object contains ScriptObjectV8Proxy pointer in internal field 141// Value of internal field with index 0 when object contains ScriptObjectV8Proxy pointer in internal field 1
42static const void *internalPointsToQObjectProxy = (void *)0x13370000;42static const void *internalPointsToQObjectProxy = (void *)0x13370000;
43// Internal field value of object pointing to ScriptObjectV8Proxy is changed to this value upon proxy's deletion43// Internal field value of object pointing to ScriptObjectV8Proxy is changed to this value upon proxy's deletion
44static const void *internalPointsToDeletedQObjectProxy = (void *)0x13370008;44static const void *internalPointsToDeletedQObjectProxy = (void *)0x13370010;
45static const void *internalPointsToQVariantProxy = (void *)0x13371000;45static const void *internalPointsToQVariantProxy = (void *)0x13371000;
46//static const void *internalPointsToSignalProxy = (void *)0x13372000;46//static const void *internalPointsToSignalProxy = (void *)0x13372000;
47static const void *internalPointsToMethodProxy = (void *)0x13373000;47static const void *internalPointsToMethodProxy = (void *)0x13373000;