target-microblaze: dec_barrel: Use bool instead of unsigned int
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Tue, 9 Aug 2016 12:54:54 +0000 (14:54 +0200)
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Tue, 4 Jul 2017 07:22:20 +0000 (09:22 +0200)
Use bool instead of unsigned int to represent flags.
No functional change.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
target/microblaze/translate.c

index fbb8bb44dba169c00cbda11b26a7d90d888f59a8..4136a8e0acadf5b0f203e46dfe692b34ac42ee6e 100644 (file)
@@ -660,7 +660,7 @@ static void dec_div(DisasContext *dc)
 static void dec_barrel(DisasContext *dc)
 {
     TCGv t0;
-    unsigned int s, t;
+    bool s, t;
 
     if ((dc->tb_flags & MSR_EE_FLAG)
           && (dc->cpu->env.pvr.regs[2] & PVR2_ILL_OPCODE_EXC_MASK)