[dmd-internals] Is there a reason that inlining happens so early?

Brad Roberts braddr at puremagic.com
Tue Nov 27 14:28:47 PST 2012


git blame is a great tool for this.  Github has a ui on top of it as well, 
though it's slow to traverse backwards in time that way.

On Wed, 28 Nov 2012, Walter Bright wrote:

> Date: Wed, 28 Nov 2012 08:03:06 +1100
> From: Walter Bright <walter at digitalmars.com>
> Reply-To: Discuss the internals of DMD <dmd-internals at puremagic.com>
> To: Discuss the internals of DMD <dmd-internals at puremagic.com>
> Subject: Re: [dmd-internals] Is there a reason that inlining happens so early?
> 
> On 11/28/2012 3:11 AM, Don Clugston wrote:
> > Oooh, you're right. EXCEPT: expression.c 5411: FuncExp's get inlined during
> > the semantic3 pass expression.c 5618: DeclarationExps get inlined during the
> > semantic3 pass. So, is there anything stopping us from moving these guys
> > into the inliner pass?
> 
> I do not recall the reason for those exceptions, or even if I wrote them. Is
> there an easy way to look back in the git history to see when they appeared?
> _______________________________________________
> dmd-internals mailing list
> dmd-internals at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-internals
> 


More information about the dmd-internals mailing list