mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
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>
This commit is contained in:
parent
eabb7b91b3
commit
8d8fdbae01
10 changed files with 12 additions and 17 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue