|
| From: | Richard Henderson |
| Subject: | Re: [PATCH 07/10] tcg: implement bulletproof JIT |
| Date: | Wed, 14 Oct 2020 14:40:43 -0700 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 10/14/20 1:54 PM, BALATON Zoltan wrote:
>> static inline void *tcg_code_ptr_rw(TCGContext *s, void *rx)
>> {
>> #ifdef CONFIG_IOS_JIT
>> return rx + s->code_rw_mirror_diff;
>
> This looks better but can you add to void *? I think some compilers may
> complain about that so may need to cast here to uint8_t * then back to void *
We already rely on void* arithmetic all over the code base.
r~
| [Prev in Thread] | Current Thread | [Next in Thread] |