[Bug 73] Functions used to initialize variables are not inlined.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 25 00:36:40 PST 2006


http://d.puremagic.com/bugzilla/show_bug.cgi?id=73


unknown at simplemachines.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |unknown at simplemachines.org




------- Comment #1 from unknown at simplemachines.org  2006-03-25 02:36 -------
There's a comment in inline.c for DeclarationExp's saying:

// Should scan variable initializers

But it isn't happening right now.  Adding a basic scan of the ExpInitializer
(if present) the same way DeclarationExp::inlineCost works seems to resolve
this, but considering how trivial that is... I can't help but expect that
there's more to it than just that.

-[Unknown]


-- 




More information about the Digitalmars-d-bugs mailing list