From: aurel32 Date: Thu, 16 Apr 2009 09:58:30 +0000 (+0000) Subject: tcg: make sure NDEBUG is defined before including X-Git-Tag: TizenStudio_2.0_p2.3~9163 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5faa01dcf6e6d801cddfaf14bf328cd1658570d2;p=sdk%2Femulator%2Fqemu.git tcg: make sure NDEBUG is defined before including Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7122 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/tcg/tcg.c b/tcg/tcg.c index 982c105..a75d8dc 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c @@ -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 */