[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] tcg/mips: make some functions inline.
From: |
jiang.biao2 |
Subject: |
Re: [Qemu-devel] [PATCH] tcg/mips: make some functions inline. |
Date: |
Thu, 2 Nov 2017 19:23:50 +0800 (CST) |
> On 11/02/2017 11:26 AM, Jiang Biao wrote:> > Make some functions inline.
>
> Why?
>
> Do you have evidence that the compiler isn't making reasonable default choices
> with respect to inlining?
No, :) Just found some of these functions are inline and others are not when
reading
the code, the style looks inconsistent.
Besides, The compiler may make default inline choices for some functions, but
may
not for some cases(some longer ones). Adding inline manually can guarantee and
not hurt. :)
Thanks.
r~