[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [7122] tcg: make sure NDEBUG is defined before including <a
From: |
Aurelien Jarno |
Subject: |
[Qemu-devel] [7122] tcg: make sure NDEBUG is defined before including <assert.h> |
Date: |
Thu, 16 Apr 2009 09:58:32 +0000 |
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 <address@hidden>
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 */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [7122] tcg: make sure NDEBUG is defined before including <assert.h>,
Aurelien Jarno <=