aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-07 15:45:15 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-07 15:45:15 +0000
commitec72e276c5e1805206bef3ba06e13da3d9eb87bf (patch)
tree73fce44b4a4d1a39ce7538b56e54f8b0307eb671
parent86e840eef78d5c6882cfd2befd8571e6cd98782f (diff)
target-ppc: Fix use of uninitialized TCG variable in tlbiva
Silences a warning about possible unitialized use of t0. Signed-off-by: Andreas Faerber <andreas.faerber@web.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5915 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--target-ppc/translate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-ppc/translate.c b/target-ppc/translate.c
index 31d7387204..2f1b5ff4f2 100644
--- a/target-ppc/translate.c
+++ b/target-ppc/translate.c
@@ -5386,6 +5386,7 @@ GEN_HANDLER(tlbiva, 0x1F, 0x12, 0x18, 0x03FFF801, PPC_TLBIVA)
GEN_EXCP_PRIVOPC(ctx);
return;
}
+ t0 = tcg_temp_new();
gen_addr_reg_index(t0, ctx);
#if defined(TARGET_PPC64)
if (!ctx->sf_mode)