aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler
diff options
context:
space:
mode:
authorSérgio Martins <sergio.martins@kdab.com>2014-01-07 19:38:50 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-09 10:12:58 +0100
commitb9e891b8adec2124e9ba78555a5b79867d4e05c9 (patch)
tree65ab49393021119fd1ac96535d850af4d1060d92 /src/qml/compiler
parent7eff387795f02f56ea9d117e4d34ef6f5dd78125 (diff)
Classify struct Use with Q_MOVABLE_TYPE.
It's movable, private, !isLarge and used by QLists in this code. Change-Id: I08c6e7e65625aba1bc798a3911a20d6d2ddc73fb Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/compiler')
-rw-r--r--src/qml/compiler/qv4regalloc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4regalloc.cpp b/src/qml/compiler/qv4regalloc.cpp
index 93ecdb2602..65685f1148 100644
--- a/src/qml/compiler/qv4regalloc.cpp
+++ b/src/qml/compiler/qv4regalloc.cpp
@@ -60,6 +60,9 @@ struct Use {
}
QT_BEGIN_NAMESPACE
+
+Q_DECLARE_TYPEINFO(Use, Q_MOVABLE_TYPE);
+
using namespace QQmlJS::V4IR;
namespace QQmlJS {