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

Don Clugston dclugston at gmail.com
Wed Nov 28 05:02:31 PST 2012


On 27 November 2012 22:03, Walter Bright <walter at digitalmars.com> wrote:
> 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?

Well, I wrote this pull to just remove them. And it passes.

https://github.com/D-Programming-Language/dmd/pull/1333


More information about the dmd-internals mailing list