[Issue 4440] [patch] Inlining delegate literals

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 29 14:32:07 PDT 2010


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



--- Comment #10 from Brad Roberts <braddr at puremagic.com> 2010-08-29 14:31:55 PDT ---
Agreed.  Getting delegate inlining in dmd is going to take serious work.  The
problem is that the inliner is no where near a const propagation pass.  It
needs to know that the variables in play have a single, unchangeable, value.

At the point of inlining, there's just a variable with an unknown -- to the
compiler -- value.

So, while this change does help that one narrow use case, it's of almost no
practical value.

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


More information about the Digitalmars-d-bugs mailing list