diff options
author | Lars Knoll <lars.knoll@digia.com> | 2014-04-29 11:06:08 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2014-07-22 13:49:03 +0200 |
commit | eedd22f7dd8330a767b73d008d3a60eed77cd900 (patch) | |
tree | b1c1adbab99d330a75d7267c5560ea7ae2fcbf18 /src | |
parent | 42b137bd1ee07ff604a44ead02160b792e1809f0 (diff) |
Convert objects without own data
Change-Id: I790ec9e42e680842a6b9722e67981314fdfa3a2c
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/qml/jsruntime/qv4globalobject_p.h | 2 | ||||
-rw-r--r-- | src/qml/jsruntime/qv4jsonobject_p.h | 2 | ||||
-rw-r--r-- | src/qml/jsruntime/qv4mathobject_p.h | 2 | ||||
-rw-r--r-- | src/qml/jsruntime/qv4objectproto_p.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/qml/jsruntime/qv4globalobject_p.h b/src/qml/jsruntime/qv4globalobject_p.h index 63823acc19..0e07d1eca4 100644 --- a/src/qml/jsruntime/qv4globalobject_p.h +++ b/src/qml/jsruntime/qv4globalobject_p.h @@ -50,7 +50,7 @@ namespace QV4 { struct Q_QML_EXPORT EvalFunction : FunctionObject { - V4_OBJECT + V4_OBJECT_NEW EvalFunction(ExecutionContext *scope); ReturnedValue evalCall(CallData *callData, bool directCall); diff --git a/src/qml/jsruntime/qv4jsonobject_p.h b/src/qml/jsruntime/qv4jsonobject_p.h index 34a4f4dd4b..4067dc67a8 100644 --- a/src/qml/jsruntime/qv4jsonobject_p.h +++ b/src/qml/jsruntime/qv4jsonobject_p.h @@ -52,7 +52,7 @@ namespace QV4 { struct JsonObject : Object { Q_MANAGED_TYPE(JsonObject) - V4_OBJECT + V4_OBJECT_NEW private: typedef QSet<QV4::Object *> V4ObjectSet; public: diff --git a/src/qml/jsruntime/qv4mathobject_p.h b/src/qml/jsruntime/qv4mathobject_p.h index 18a80c2ba0..e9159d1dc1 100644 --- a/src/qml/jsruntime/qv4mathobject_p.h +++ b/src/qml/jsruntime/qv4mathobject_p.h @@ -49,7 +49,7 @@ namespace QV4 { struct MathObject: Object { - V4_OBJECT + V4_OBJECT_NEW Q_MANAGED_TYPE(MathObject) MathObject(InternalClass *ic); diff --git a/src/qml/jsruntime/qv4objectproto_p.h b/src/qml/jsruntime/qv4objectproto_p.h index 2b9974be06..ed0ea2dc1e 100644 --- a/src/qml/jsruntime/qv4objectproto_p.h +++ b/src/qml/jsruntime/qv4objectproto_p.h @@ -51,7 +51,7 @@ namespace QV4 { struct ObjectCtor: FunctionObject { - V4_OBJECT + V4_OBJECT_NEW ObjectCtor(ExecutionContext *scope); static ReturnedValue construct(Managed *that, CallData *callData); |