aboutsummaryrefslogtreecommitdiff
path: root/include/exec/gen-icount.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-03-05 08:54:41 -0800
committerAurelien Jarno <aurelien@aurel32.net>2013-03-09 18:16:43 +0100
commita4960ef34829c355fdf25b8ee6b869c92393e366 (patch)
tree946d2798379a9ad1c8904a0d74f0e74eace2552f /include/exec/gen-icount.h
parent916359f66f838481b4a37a45ab27ccd0474ae487 (diff)
downloadqemu-a4960ef34829c355fdf25b8ee6b869c92393e366.zip
qemu-a4960ef34829c355fdf25b8ee6b869c92393e366.tar.gz
qemu-a4960ef34829c355fdf25b8ee6b869c92393e366.tar.bz2
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 <rth@twiddle.net> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'include/exec/gen-icount.h')
-rw-r--r--include/exec/gen-icount.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/gen-icount.h b/include/exec/gen-icount.h
index 4e3b17b..4fc7b29 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);