diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2016-04-21 10:48:50 +0200 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-04-21 15:43:20 +0100 |
commit | 8d8fdbae010aa75a23f0307172e81034125aba6e (patch) | |
tree | b34b6163d39e128363add841be8426c4c84c1fde /tcg/s390/tcg-target.inc.c | |
parent | eabb7b91b36b202b4dac2df2d59d698e3aff197a (diff) | |
download | qemu-8d8fdbae010aa75a23f0307172e81034125aba6e.zip qemu-8d8fdbae010aa75a23f0307172e81034125aba6e.tar.gz qemu-8d8fdbae010aa75a23f0307172e81034125aba6e.tar.bz2 |
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/s390/tcg-target.inc.c')
-rw-r--r-- | tcg/s390/tcg-target.inc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/s390/tcg-target.inc.c b/tcg/s390/tcg-target.inc.c index 8b30256..5805532 100644 --- a/tcg/s390/tcg-target.inc.c +++ b/tcg/s390/tcg-target.inc.c @@ -221,7 +221,7 @@ typedef enum S390Opcode { RX_STH = 0x40, } S390Opcode; -#ifndef NDEBUG +#ifdef CONFIG_DEBUG_TCG static const char * const tcg_target_reg_names[TCG_TARGET_NB_REGS] = { "%r0", "%r1", "%r2", "%r3", "%r4", "%r5", "%r6", "%r7", "%r8", "%r9", "%r10" "%r11" "%r12" "%r13" "%r14" "%r15" |