Inline Functions

Walter Bright newshound1 at digitalmars.com
Wed Feb 25 17:50:40 PST 2009


Jarrett Billingsley wrote:
> In this case it's not entirely helpful that DMD's inlining rules are
> completely opaque.  Do you have a list of what DMD will and won't
> inline, and their justifications?  If not, could you make one?

In the immortal words of Oggie-Ben-Doggie, "use the source, Luke".

In this case, the source is FuncDeclaration::canInline() in 
/dmd/src/dmd/inline.c.

Yes, I know, but it's all there is at the moment.



More information about the Digitalmars-d mailing list