[Issue 2008] Poor optimization of functions with ref parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 10 00:07:19 PDT 2010


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


Brad Roberts <braddr at puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #626 is|0                           |1
           obsolete|                            |


--- Comment #9 from Brad Roberts <braddr at puremagic.com> 2010-05-10 00:07:11 PDT ---
Created an attachment (id=627)
Enable inlining of functions with ref parameters, v2

The previous patch didn't pass the dmd test suite (still need to understand
why).

This newer patch isolates the changes to the inlining code to generate AST
closer to what would be manually written for hand inlined code.  I also dropped
all of the debugging code and unrelated code cleanup.  This version DOES pass
the dmd test suite.

I've also confirmed that it is NOT dependent on the patch attached to bug 4149.

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