From: aurel32 Date: Wed, 15 Apr 2009 14:42:00 +0000 (+0000) Subject: target-mips: mark zero register as unused. X-Git-Tag: TizenStudio_2.0_p2.3~9178 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e02b606d571985e5cd66dbebcec85af3fa82b901;p=sdk%2Femulator%2Fqemu.git target-mips: mark zero register as unused. Suggested by Stuart Brady. Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7107 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/target-mips/translate.c b/target-mips/translate.c index a83a45d..e9b20d1 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -8497,6 +8497,7 @@ static void mips_tcg_init(void) return; cpu_env = tcg_global_reg_new_ptr(TCG_AREG0, "env"); + TCGV_UNUSED(cpu_gpr[0]); for (i = 1; i < 32; i++) cpu_gpr[i] = tcg_global_mem_new(TCG_AREG0, offsetof(CPUState, active_tc.gpr[i]),