DIP56 Provide pragma to control function inlining
Manu
turkeyman at gmail.com
Mon Feb 24 08:40:19 PST 2014
On 23 February 2014 22:57, Walter Bright <newshound2 at digitalmars.com> wrote:
> On 2/23/2014 4:25 AM, Tove wrote:
>
>> The DIP should probably specify what happens if inlining fails,
>> i.e. generate a compilation error.
>>
>
> I suspect that may cause problems, because different compilers will have
> different inlining capabilities. I think it should be a 'recommendation' to
> the compiler.
>
Does this depend how it is implemented?
Will DMD just patch it directly into the AST like a mixin in the front end,
or is it always left to the back end?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140225/253c4055/attachment-0001.html>
More information about the Digitalmars-d
mailing list