From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LuOMe-0000T7-0t for qemu-devel@nongnu.org; Thu, 16 Apr 2009 05:58:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LuOMc-0000Sv-R4 for qemu-devel@nongnu.org; Thu, 16 Apr 2009 05:58:35 -0400 Received: from [199.232.76.173] (port=49249 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LuOMc-0000Ss-KN for qemu-devel@nongnu.org; Thu, 16 Apr 2009 05:58:34 -0400 Received: from savannah.gnu.org ([199.232.41.3]:46075 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LuOMc-0003pZ-Ch for qemu-devel@nongnu.org; Thu, 16 Apr 2009 05:58:34 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1LuOMb-00057d-6T for qemu-devel@nongnu.org; Thu, 16 Apr 2009 09:58:33 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1LuOMa-00057Y-Fc for qemu-devel@nongnu.org; Thu, 16 Apr 2009 09:58:32 +0000 MIME-Version: 1.0 Errors-To: aurel32 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Aurelien Jarno Message-Id: Date: Thu, 16 Apr 2009 09:58:32 +0000 Subject: [Qemu-devel] [7122] tcg: make sure NDEBUG is defined before including Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 7122 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7122 Author: aurel32 Date: 2009-04-16 09:58:30 +0000 (Thu, 16 Apr 2009) Log Message: ----------- tcg: make sure NDEBUG is defined before including Signed-off-by: Aurelien Jarno Modified Paths: -------------- trunk/tcg/tcg.c Modified: trunk/tcg/tcg.c =================================================================== --- trunk/tcg/tcg.c 2009-04-15 19:48:17 UTC (rev 7121) +++ trunk/tcg/tcg.c 2009-04-16 09:58:30 UTC (rev 7122) @@ -25,6 +25,13 @@ /* define it to use liveness analysis (better code) */ #define USE_LIVENESS_ANALYSIS +#include "config.h" + +#ifndef DEBUG_TCG +/* define it to suppress various consistency checks (faster) */ +#define NDEBUG +#endif + #include #include #include @@ -38,15 +45,9 @@ #include #endif -#include "config.h" #include "qemu-common.h" #include "cache-utils.h" -#ifndef DEBUG_TCG -/* define it to suppress various consistency checks (faster) */ -#define NDEBUG -#endif - /* Note: the long term plan is to reduce the dependancies on the QEMU CPU definitions. Currently they are used for qemu_ld/st instructions */