From: Richard Henderson Date: Tue, 5 Mar 2013 16:54:41 +0000 (-0800) Subject: tcg: Don't make exitreq flag a local temporary X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a4960ef34829c355fdf25b8ee6b869c92393e366;p=qemu.git tcg: Don't make exitreq flag a local temporary The value is not actually live across basic blocks, so there's no need for the local property. This eliminates storing the temporary to its home location at the branch. Signed-off-by: Richard Henderson Reviewed-by: Peter Maydell Signed-off-by: Aurelien Jarno --- diff --git a/include/exec/gen-icount.h b/include/exec/gen-icount.h index 4e3b17b083..4fc7b2981d 100644 --- a/include/exec/gen-icount.h +++ b/include/exec/gen-icount.h @@ -15,7 +15,7 @@ static inline void gen_tb_start(void) TCGv_i32 flag; exitreq_label = gen_new_label(); - flag = tcg_temp_local_new_i32(); + flag = tcg_temp_new_i32(); tcg_gen_ld_i32(flag, cpu_env, offsetof(CPUState, tcg_exit_req) - ENV_OFFSET); tcg_gen_brcondi_i32(TCG_COND_NE, flag, 0, exitreq_label);