* [Qemu-devel] [7122] tcg: make sure NDEBUG is defined before including <assert.h>
@ 2009-04-16 9:58 Aurelien Jarno
0 siblings, 0 replies; only message in thread
From: Aurelien Jarno @ 2009-04-16 9:58 UTC (permalink / raw)
To: qemu-devel
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 <assert.h>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
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 <assert.h>
#include <stdarg.h>
#include <stdlib.h>
@@ -38,15 +45,9 @@
#include <alloca.h>
#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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-16 9:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-16 9:58 [Qemu-devel] [7122] tcg: make sure NDEBUG is defined before including <assert.h> Aurelien Jarno
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).