[Issue 3490] DMD Never Inlines Functions that Could Throw

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 9 06:32:38 PST 2009


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


Ary Borenszweig <ary at esperanto.org.ar> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ary at esperanto.org.ar


--- Comment #1 from Ary Borenszweig <ary at esperanto.org.ar> 2009-11-09 06:32:37 PST ---
Here's why:

int Statement::inlineCost(InlineCostState *ics)
{
    return COST_MAX;        // default is we can't inline it
}

and ThrowStatement never overrides it.

-- 
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