diff options
| author | Richard Henderson | 2013-08-21 00:53:10 +0200 |
|---|---|---|
| committer | Richard Henderson | 2013-09-02 18:08:30 +0200 |
| commit | 8cfd04959a023f87e1e6727e608a20f168441370 (patch) | |
| tree | 0c9a90e5f8c206bd1aa704138d98554e452503e7 /include/exec | |
| parent | tcg: Use uintptr_t in TCGHelperInfo (diff) | |
| download | qemu-8cfd04959a023f87e1e6727e608a20f168441370.tar.gz qemu-8cfd04959a023f87e1e6727e608a20f168441370.tar.xz qemu-8cfd04959a023f87e1e6727e608a20f168441370.zip | |
tcg: Change tcg_gen_exit_tb argument to uintptr_t
And update all users.
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'include/exec')
| -rw-r--r-- | include/exec/gen-icount.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/exec/gen-icount.h b/include/exec/gen-icount.h index 4fc7b2981d..39a6b61e4f 100644 --- a/include/exec/gen-icount.h +++ b/include/exec/gen-icount.h @@ -39,12 +39,12 @@ static inline void gen_tb_start(void) static void gen_tb_end(TranslationBlock *tb, int num_insns) { gen_set_label(exitreq_label); - tcg_gen_exit_tb((tcg_target_long)tb + TB_EXIT_REQUESTED); + tcg_gen_exit_tb((uintptr_t)tb + TB_EXIT_REQUESTED); if (use_icount) { *icount_arg = num_insns; gen_set_label(icount_label); - tcg_gen_exit_tb((tcg_target_long)tb + TB_EXIT_ICOUNT_EXPIRED); + tcg_gen_exit_tb((uintptr_t)tb + TB_EXIT_ICOUNT_EXPIRED); } } |
