http://d.puremagic.com/issues/show_bug.cgi?id=4231



--- Comment #7 from Andrei Alexandrescu <and...@metalanguage.com> 2010-06-02 
10:53:53 PDT ---
(In reply to comment #6)
> I was thinking about the code post-inlining.  MOST of the time the operators
> will be inlined and at that point it should be dead simple for it to eliminate
> dead stores and thus the temporaries would just go away, no special knowledge
> or techniques required.  Without inlining, yeah, it can't make assumptions 
> what
> can occur inside the function calls.

Inlining is irrelevant. If a this(this) has a writeln() in it, the optimizer
must honor it no questions asked. That's why elision must come from a higher
level.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to