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] Change the array of loops to vector


Hello,

On 12/10/06, Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> wrote:
Hello,

this patch is the next in the series of cleanups for the loop
representation.  It changes the representation used for the list of
loops in function to a vector.  To make the transition easier, it
introduces several new accessors (get_loop, number_of_loops,
and FOR_EACH_LOOP macro) that should be used to access the loop
information instead of querying it directly.

The patch also removes several unused fields from the loop structures.


That's a very nice cleanup. The code of some functions is really simpler to read in the new version, so thanks for the cleanup.

Sebastian


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