diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2015-02-12 21:03:53 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-03-02 16:34:09 +0000 |
commit | 69fe583cbebcbd593cb0cee266ffc8b0b647235c (patch) | |
tree | 2267cdff1f35304a7a61f1cca9dd4686c7e04fd2 /src/qml/jsruntime/qv4object_p.h | |
parent | 9951ea5cab60f4bc23919d963abd595a1710cf54 (diff) |
Introduce a Heap::Pointer class
This is required to properly mark pointers to other heap
objects, as well as to have a single point where to implement
a write barrier later on.
Change-Id: I7d57044f1a306ca8da8183793635ed49a3637146
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/jsruntime/qv4object_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4object_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4object_p.h b/src/qml/jsruntime/qv4object_p.h index 71a997e133..a8bd97b7c1 100644 --- a/src/qml/jsruntime/qv4object_p.h +++ b/src/qml/jsruntime/qv4object_p.h @@ -55,7 +55,7 @@ struct Object : Base { Property *propertyAt(uint index) { return reinterpret_cast<Property *>(memberData->data + index); } InternalClass *internalClass; - Heap::Object *prototype; + Pointer<Object> prototype; MemberData *memberData; ArrayData *arrayData; }; |