[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] target-arm: Fix intptr_t vs tcg_target_long
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH] target-arm: Fix intptr_t vs tcg_target_long |
Date: |
Mon, 10 Mar 2014 09:01:58 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
On 03/10/2014 05:08 AM, Peter Maydell wrote:
> A quick grep of the uses of tcg_gen_exit_tb() suggests
> we would be better to change this function to take
> (TranslationBlock *tb, int tb_exit_code), possibly
> also with a special case for 0 if "tcg_gen_exit_tb(NULL, 0)"
> seems too verbose.
No, since the goto_tb cases use (tb | n), so you wind up casting to an integer
type anyway.
r~