summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2010-03-10 08:41:11 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2010-03-10 10:27:38 (GMT)
commit66e22b5b65b09cf4824dbfbc91e8dea04e8e4214 (patch)
treed0b1fe666ada791b9891692fdc1a18c1542e205d /src
parent620a584c20c1aeb059803dfe246597daaf4f4e04 (diff)
downloadQt-66e22b5b65b09cf4824dbfbc91e8dea04e8e4214.zip
Qt-66e22b5b65b09cf4824dbfbc91e8dea04e8e4214.tar.gz
Qt-66e22b5b65b09cf4824dbfbc91e8dea04e8e4214.tar.bz2
MAke the SIMD fiunctions be used even when the QT_NO_DEBUG macro is used
Reviewed-by: Benjamin Poulain
Diffstat (limited to 'src')
-rw-r--r--src/gui/painting/qdrawhelper.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/painting/qdrawhelper.cpp b/src/gui/painting/qdrawhelper.cpp
index 5f70cb7..581b538 100644
--- a/src/gui/painting/qdrawhelper.cpp
+++ b/src/gui/painting/qdrawhelper.cpp
@@ -7820,7 +7820,6 @@ void qInitDrawhelperAsm()
CompositionFunction *functionForModeAsm = 0;
CompositionFunctionSolid *functionForModeSolidAsm = 0;
-#ifdef QT_NO_DEBUG
const uint features = qDetectCPUFeatures();
if (false) {
#ifdef QT_HAVE_SSE2
@@ -7944,8 +7943,6 @@ void qInitDrawhelperAsm()
}
#endif // IWMMXT
-#endif // QT_NO_DEBUG
-
#if defined(Q_CC_RVCT) && defined(QT_HAVE_ARMV6)
functionForModeAsm = qt_functionForMode_ARMv6;
functionForModeSolidAsm = qt_functionForModeSolid_ARMv6;