diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2014-07-17 15:56:30 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2014-07-22 13:49:21 +0200 |
commit | b3fab495f514a3bd2d335276a022c0f3678f1cc4 (patch) | |
tree | 3b6f6e17f4addd94bd95bf3fe3945c5398a05446 /src/qml/jsruntime/qv4functionobject_p.h | |
parent | 659e06f3a0c5a72154306c16abfeb177b2572e43 (diff) |
Cleanup: Get rid of __data members
These are not needed anymore
Change-Id: Ib834aa294e84ca9fbdd5b6850d5bc172e8b54ba1
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4functionobject_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4functionobject_p.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/qml/jsruntime/qv4functionobject_p.h b/src/qml/jsruntime/qv4functionobject_p.h index b7995e948e..86e4354269 100644 --- a/src/qml/jsruntime/qv4functionobject_p.h +++ b/src/qml/jsruntime/qv4functionobject_p.h @@ -105,11 +105,6 @@ struct Q_QML_EXPORT FunctionObject: Object { ExecutionContext *scope; Function *function; }; - struct { - ExecutionContext *scope; - Function *function; - - } __data; V4_OBJECT(Object) Q_MANAGED_TYPE(FunctionObject) enum { @@ -199,9 +194,6 @@ struct Q_QML_EXPORT BuiltinFunction: FunctionObject { Data(ExecutionContext *scope, String *name, ReturnedValue (*code)(CallContext *)); ReturnedValue (*code)(CallContext *); }; - struct { - ReturnedValue (*code)(CallContext *); - } __data; V4_OBJECT(FunctionObject) static BuiltinFunction *create(ExecutionContext *scope, String *name, ReturnedValue (*code)(CallContext *)) @@ -226,10 +218,6 @@ struct IndexedBuiltinFunction: FunctionObject ReturnedValue (*code)(CallContext *, uint index); uint index; }; - struct { - ReturnedValue (*code)(CallContext *, uint index); - uint index; - } __data; V4_OBJECT(FunctionObject) static ReturnedValue construct(Managed *m, CallData *) @@ -271,11 +259,6 @@ struct BoundFunction: FunctionObject { Value boundThis; Members boundArgs; }; - struct { - FunctionObject *target; - Value boundThis; - Members boundArgs; - } __data; V4_OBJECT(FunctionObject) static BoundFunction *create(ExecutionContext *scope, FunctionObject *target, const ValueRef boundThis, const QV4::Members &boundArgs) |