qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [7107] target-mips: mark zero register as unused.
@ 2009-04-15 14:42 Aurelien Jarno
  0 siblings, 0 replies; only message in thread
From: Aurelien Jarno @ 2009-04-15 14:42 UTC (permalink / raw)
  To: qemu-devel

Revision: 7107
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7107
Author:   aurel32
Date:     2009-04-15 14:42:00 +0000 (Wed, 15 Apr 2009)
Log Message:
-----------
target-mips: mark zero register as unused.

Suggested by Stuart Brady.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

Modified Paths:
--------------
    trunk/target-mips/translate.c

Modified: trunk/target-mips/translate.c
===================================================================
--- trunk/target-mips/translate.c	2009-04-15 14:41:44 UTC (rev 7106)
+++ trunk/target-mips/translate.c	2009-04-15 14:42:00 UTC (rev 7107)
@@ -8497,6 +8497,7 @@
         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]),

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-15 14:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-15 14:42 [Qemu-devel] [7107] target-mips: mark zero register as unused Aurelien Jarno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).