if still there
Rainer Schuetze via Digitalmars-d
digitalmars-d at puremagic.com
Mon Sep 22 13:27:21 PDT 2014
On 22.09.2014 15:24, Daniel Murphy wrote:
> "Rainer Schuetze" wrote in message news:lvmjqr$h13$1 at digitalmars.com...
>
>> The branch is still in the doIt function:
>
> Yes.
>
>> dmd didn't do any inlining at all. It is very restrained with
>> inlining, you'll get much better results with GDC or LDC.
>
> Check again, it inlined doIt into main. It still writes out doIt even
> though it's now unreferenced, but that doesn't have much to do with the
> inliner.
Yeah, my bad. I must have been confused by your quote of the
non-inlining main.
Sorry to dmd for blaming it's inliner, again ;-)
More information about the Digitalmars-d
mailing list