Fix build with QT_FORCE_ASSERTS
authorKonstantin Ritt <ritt.ks@gmail.com>
Tue, 25 Feb 2014 15:11:50 +0000 (17:11 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 3 Mar 2014 10:32:56 +0000 (11:32 +0100)
Change-Id: Ie87b574f6cabe6095a531129511823ec55c58929
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/jit/qv4assembler.cpp

index 0cede2a..d0a569d 100644 (file)
@@ -427,7 +427,7 @@ Assembler::Jump Assembler::genTryDoubleConversion(IR::Expr *src, Assembler::FPRe
     return isNoDbl;
 }
 
-#ifndef QT_NO_DEBUG
+#if !defined(QT_NO_DEBUG) || defined(QT_FORCE_ASSERTS)
 namespace {
 inline bool isPregOrConst(IR::Expr *e)
 {