Thread overview
always_inline and noinline
Apr 20, 2013
jerro
Apr 20, 2013
Iain Buclaw
Apr 20, 2013
jerro
May 13, 2013
Iain Buclaw
May 14, 2013
jerro
April 20, 2013
Is there any chance @attribute("always_inline") and @attribute("noinline") will be added to GDC? It would be nice to be able to control inlining.
April 20, 2013
On Apr 20, 2013 5:10 PM, "jerro" <a@a.com> wrote:
>
> Is there any chance @attribute("always_inline") and
@attribute("noinline") will be added to GDC? It would be nice to be able to
control inlining.

Can do. Now we are freed from the shackles of GCC attributes, we can give some of the attributes better or alternative names.

Regards
-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


April 20, 2013
> Can do.

That would be nice :)

> Now we are freed from the shackles of GCC attributes, we can give some of the attributes better or alternative names.

Personally, I'm fine with the names noinline and always_inline. If you are looking for alternative names, one option would be to use forceinline instead of always_inline.
May 13, 2013
On 20 April 2013 19:17, jerro <a@a.com> wrote:

> Can do.
>>
>
> That would be nice :)
>
>
>  Now we are freed from the shackles of GCC attributes, we can give some of
>> the attributes better or alternative names.
>>
>
> Personally, I'm fine with the names noinline and always_inline. If you are looking for alternative names, one option would be to use forceinline instead of always_inline.
>


And it's in:

https://github.com/D-Programming-GDC/GDC/commit/3e16d4d7673e4b3b8750df8bc92ce853199a2e78

-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


May 14, 2013
Great!