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

Walter Bright walter at digitalmars.com
Wed Nov 28 05:25:42 PST 2012


On 11/29/2012 12:02 AM, Don Clugston wrote:
> 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
>

Well, that's one way to find out why it was there!


More information about the dmd-internals mailing list