aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2013-11-28 20:31:04 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-03 11:20:42 +0100
commitb07c462c3663cedcb2d65b275caffd990e9886f8 (patch)
tree7507d02e8df9d9d72be09665b9f150b3700fb297 /src/qml/compiler
parent0fa3b4c23c96c9375c8a1b8e4981e1b84188a3ef (diff)
Fix build in release mode with forced asserts
Change-Id: I0e35533af7f65200a8bc3c4024c29344fa6f4b7a Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/compiler')
-rw-r--r--src/qml/compiler/qv4regalloc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/compiler/qv4regalloc.cpp b/src/qml/compiler/qv4regalloc.cpp
index 5d341ed149..eaa9839f48 100644
--- a/src/qml/compiler/qv4regalloc.cpp
+++ b/src/qml/compiler/qv4regalloc.cpp
@@ -897,9 +897,9 @@ private:
}
}
if (!moveFrom) {
- Q_ASSERT(!_info->isPhiTarget(it.temp()) || it.isSplitFromInterval() || lifeTimeHole);
Q_UNUSED(lifeTimeHole);
#if !defined(QT_NO_DEBUG)
+ Q_ASSERT(!_info->isPhiTarget(it.temp()) || it.isSplitFromInterval() || lifeTimeHole);
if (_info->def(it.temp()) != successorStart && !it.isSplitFromInterval()) {
const int successorEnd = successor->statements.last()->id;
const int idx = successor->in.indexOf(predecessor);