diff options
author | Lars Knoll <lars.knoll@digia.com> | 2014-03-04 13:19:27 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-07 16:55:12 +0100 |
commit | f836b9837dda09c09c2ee3307300998ca5dff5c4 (patch) | |
tree | 0f49f84a9e6912dbef18c7b58d8c9442c5387180 /src/qml/qml/v8 | |
parent | 48251fd737447710775727f55e7334ec1c6af1f4 (diff) |
Remove the name member of FunctionObject
The data is anyway stored in the name property of
the FunctionObject, and is not performance critical.
Change-Id: If1784b0ec6f368bc474c246bb9c2c50d5e56b689
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/v8')
-rw-r--r-- | src/qml/qml/v8/qqmlbuiltinfunctions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/v8/qqmlbuiltinfunctions.cpp b/src/qml/qml/v8/qqmlbuiltinfunctions.cpp index 8692be6b7b..82af1c3fb8 100644 --- a/src/qml/qml/v8/qqmlbuiltinfunctions.cpp +++ b/src/qml/qml/v8/qqmlbuiltinfunctions.cpp @@ -1181,7 +1181,7 @@ struct BindingFunction : public QV4::FunctionObject { V4_OBJECT BindingFunction(FunctionObject *originalFunction) - : QV4::FunctionObject(originalFunction->scope, originalFunction->name) + : QV4::FunctionObject(originalFunction->scope, originalFunction->name()) , originalFunction(originalFunction) { setVTable(staticVTable()); |