aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4functionobject_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2017-01-31 13:25:09 +0100
committerLars Knoll <lars.knoll@qt.io>2017-03-09 08:58:31 +0000
commit518e258d59adc976e2e8aa9a7f9ef36d8b8cdb66 (patch)
tree33b90cb45ebfa4cb6767db85caaafcf6ac83d404 /src/qml/jsruntime/qv4functionobject_p.h
parent8b3cbc4403e3eac286613691c11aa1ded588da59 (diff)
Make every member of a Heap object aware of its offset inside the object
This will allow adding a write barrier to those fields with manageable effort. Change-Id: I7d06d7ffccbcefe66e2524c64c962353c91c2766 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4functionobject_p.h')
-rw-r--r--src/qml/jsruntime/qv4functionobject_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4functionobject_p.h b/src/qml/jsruntime/qv4functionobject_p.h
index 1fc40e6ff6..c7dac7d3e5 100644
--- a/src/qml/jsruntime/qv4functionobject_p.h
+++ b/src/qml/jsruntime/qv4functionobject_p.h
@@ -123,7 +123,7 @@ struct ScriptFunction : FunctionObject {
#define BoundFunctionMembers(class, Member) \
Member(class, Pointer, FunctionObject *, target) \
- Member(class, Value, Value, boundThis) \
+ Member(class, HeapValue, HeapValue, boundThis) \
Member(class, Pointer, MemberData *, boundArgs)
DECLARE_HEAP_OBJECT(BoundFunction, FunctionObject) {