diff options
author | Lars Knoll <lars.knoll@digia.com> | 2014-03-03 11:51:17 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-03 20:23:24 +0100 |
commit | 292fdc90865e8603e11bbbe3f2870004caeb0e35 (patch) | |
tree | 964cfe2ea959c1159618356ce8d99c6f1db03ff1 /src/qml/qml/qqmlobjectcreator.cpp | |
parent | fd8981d835f298306a39c5d32b1050bf8f9b5653 (diff) |
Remove nArguments and name from QV4::Function
Saves 12 bytes per Function
Change-Id: I9a495805f9201eb6162a520ff5c2defeb73dc37a
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Reviewed-by: Michael Brasser <michael.brasser@live.com>
Diffstat (limited to 'src/qml/qml/qqmlobjectcreator.cpp')
-rw-r--r-- | src/qml/qml/qqmlobjectcreator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlobjectcreator.cpp b/src/qml/qml/qqmlobjectcreator.cpp index 8d59c79e59..e275b92518 100644 --- a/src/qml/qml/qqmlobjectcreator.cpp +++ b/src/qml/qml/qqmlobjectcreator.cpp @@ -929,7 +929,7 @@ void QQmlObjectCreator::setupFunctions() const quint32 *functionIdx = _compiledObject->functionOffsetTable(); for (quint32 i = 0; i < _compiledObject->nFunctions; ++i, ++functionIdx) { QV4::Function *runtimeFunction = compiledData->compilationUnit->runtimeFunctions[*functionIdx]; - const QString name = runtimeFunction->name->toQString(); + const QString name = runtimeFunction->name()->toQString(); QQmlPropertyData *property = _propertyCache->property(name, _qobject, context); if (!property->isVMEFunction()) |