diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-08-29 12:58:18 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-02 17:27:36 +0200 |
commit | 9d6af852243b2b604776753701d75c6840c95989 (patch) | |
tree | 9052541442deccdcd6470ff8c754eec700a8ce33 /src/qml | |
parent | da4012df2e29c55bc7809f858770f97cb72831d4 (diff) |
Remove unused constructor
Change-Id: Ibba688aea338c9f3deb33ae7488b7239ec9a485c
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml')
-rw-r--r-- | src/qml/jsruntime/qv4object.cpp | 11 | ||||
-rw-r--r-- | src/qml/jsruntime/qv4object_p.h | 1 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/qml/jsruntime/qv4object.cpp b/src/qml/jsruntime/qv4object.cpp index ab33764142..de651957f6 100644 --- a/src/qml/jsruntime/qv4object.cpp +++ b/src/qml/jsruntime/qv4object.cpp @@ -79,17 +79,6 @@ Object::Object(ExecutionEngine *engine) memset(memberData, 0, sizeof(Property)*memberDataAlloc); } -Object::Object(ExecutionContext *context) - : Managed(context->engine->emptyClass) - , prototype(0) - , memberDataAlloc(InlinePropertySize), memberData(inlineProperties) - , arrayOffset(0), arrayDataLen(0), arrayAlloc(0), arrayAttributes(0), arrayData(0), sparseArray(0) -{ - vtbl = &static_vtbl; - type = Type_Object; - memset(memberData, 0, sizeof(Property)*memberDataAlloc); -} - Object::Object(ExecutionEngine *engine, InternalClass *internalClass) : Managed(internalClass) , prototype(0) diff --git a/src/qml/jsruntime/qv4object_p.h b/src/qml/jsruntime/qv4object_p.h index d40720b515..522dd28b40 100644 --- a/src/qml/jsruntime/qv4object_p.h +++ b/src/qml/jsruntime/qv4object_p.h @@ -125,7 +125,6 @@ struct Q_QML_EXPORT Object: Managed { Property inlineProperties[InlinePropertySize]; Object(ExecutionEngine *engine); - Object(ExecutionContext *context); Object(ExecutionEngine *engine, InternalClass *internalClass); ~Object(); |