summaryrefslogtreecommitdiffstats
path: root/tcg/tci
diff options
context:
space:
mode:
authorAurelien Jarno2016-04-21 10:48:50 +0200
committerPeter Maydell2016-04-21 16:43:20 +0200
commit8d8fdbae010aa75a23f0307172e81034125aba6e (patch)
treeb34b6163d39e128363add841be8426c4c84c1fde /tcg/tci
parenttcg: use tcg_debug_assert instead of assert (fix performance regression) (diff)
downloadqemu-8d8fdbae010aa75a23f0307172e81034125aba6e.tar.gz
qemu-8d8fdbae010aa75a23f0307172e81034125aba6e.tar.xz
qemu-8d8fdbae010aa75a23f0307172e81034125aba6e.zip
tcg: check for CONFIG_DEBUG_TCG instead of NDEBUG
Check for CONFIG_DEBUG_TCG instead of NDEBUG, drop now useless code. Cc: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Message-id: 1461228530-14852-2-git-send-email-aurelien@aurel32.net Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tcg/tci')
-rw-r--r--tcg/tci/tcg-target.inc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/tci/tcg-target.inc.c b/tcg/tci/tcg-target.inc.c
index 6855ed2247..e2fc52a167 100644
--- a/tcg/tci/tcg-target.inc.c
+++ b/tcg/tci/tcg-target.inc.c
@@ -315,7 +315,7 @@ static const int tcg_target_call_oarg_regs[] = {
#endif
};
-#ifndef NDEBUG
+#ifdef CONFIG_DEBUG_TCG
static const char *const tcg_target_reg_names[TCG_TARGET_NB_REGS] = {
"r00",
"r01",