Patch 3/9: create some more small helper functions

Jeff Law law@redhat.com
Fri Jun 18 22:07:00 GMT 2010


On 06/18/10 08:06, Bernd Schmidt wrote:
>     * ira-int.h (ira_parent_allocno, ira_parent_or_cap_allocno): Declare.
>     * ira-build.c (ira_parent_allocno, ira_parent_or_cap_allocno): New
>     functions.
>     (ira_flattening): Use ira_parent_allocno.
>     * ira-conflicts.c (process_regs_for_copy, propagate_copies)
>     build_allocno_conflicts): Use ira_parent_or_cap_allocno.
I agree the original code was rather confusing.  It wasn't trivial to 
verify that the code would work the same before/after your changes, 
primarily due to the convoluted way some of the original code was written.

Thanks.  Please install,

Jeff



More information about the Gcc-patches mailing list