This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch 3/9: create some more small helper functions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]