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
This commit is contained in:
parent
86e840eef7
commit
ec72e276c5
@ -5386,6 +5386,7 @@ GEN_HANDLER(tlbiva, 0x1F, 0x12, 0x18, 0x03FFF801, PPC_TLBIVA)
|
|||||||
GEN_EXCP_PRIVOPC(ctx);
|
GEN_EXCP_PRIVOPC(ctx);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
t0 = tcg_temp_new();
|
||||||
gen_addr_reg_index(t0, ctx);
|
gen_addr_reg_index(t0, ctx);
|
||||||
#if defined(TARGET_PPC64)
|
#if defined(TARGET_PPC64)
|
||||||
if (!ctx->sf_mode)
|
if (!ctx->sf_mode)
|
||||||
|
Loading…
Reference in New Issue
Block a user