aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2014-04-29 11:06:08 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2014-07-22 13:49:03 +0200
commiteedd22f7dd8330a767b73d008d3a60eed77cd900 (patch)
treeb1c1adbab99d330a75d7267c5560ea7ae2fcbf18 /src/qml/jsruntime
parent42b137bd1ee07ff604a44ead02160b792e1809f0 (diff)
Convert objects without own data
Change-Id: I790ec9e42e680842a6b9722e67981314fdfa3a2c Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime')
-rw-r--r--src/qml/jsruntime/qv4globalobject_p.h2
-rw-r--r--src/qml/jsruntime/qv4jsonobject_p.h2
-rw-r--r--src/qml/jsruntime/qv4mathobject_p.h2
-rw-r--r--src/qml/jsruntime/qv4objectproto_p.h2
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);