aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlboundsignal_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2014-03-27 09:52:39 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-27 20:39:59 +0100
commitcd1d5313ba5b122ad0117ac47958aa4779d91464 (patch)
tree25812ea35d4d30bcf9bbf13a0bc053936c13978f /src/qml/qml/qqmlboundsignal_p.h
parent1d3ac919f2dafaa6482864c1e1940da5636bdc8c (diff)
Save another 4/8 bytes per QQmlBoundSignalExpression
We can move the persistent to hold the scope for a string compiled binding into the extra data. Change-Id: I033aa6d080402a1eb19cdae540f9af2c5c3a3fc7 Reviewed-by: Michael Brasser <michael.brasser@live.com>
Diffstat (limited to 'src/qml/qml/qqmlboundsignal_p.h')
-rw-r--r--src/qml/qml/qqmlboundsignal_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlboundsignal_p.h b/src/qml/qml/qqmlboundsignal_p.h
index 6df6da4214..054c6d2f80 100644
--- a/src/qml/qml/qqmlboundsignal_p.h
+++ b/src/qml/qml/qqmlboundsignal_p.h
@@ -104,7 +104,6 @@ private:
bool invalidParameterName() const { return m_extra.flag2(); }
void setInvalidParameterName(bool v) { m_extra.setFlag2Value(v); }
- QV4::PersistentValue m_v8qmlscope;
QV4::PersistentValue m_v8function;
QObject *m_target;
@@ -119,6 +118,7 @@ private:
QString m_parameterString;
QString m_expression;
QQmlSourceLocation m_sourceLocation;
+ QV4::PersistentValue m_v8qmlscope;
};
// We store some flag bits in the following flag pointers.