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: Unit at time compilation mode II


On Tue, Feb 11, 2003 at 10:57:17PM +0100, Jan Hubicka wrote:
> I hope it is not too serious in this case as I am walking across
> functions there should not be that many of them to make this matter.

Huh?  You're walking across all functions in the compilation unit.
There can be thousands of them.

> I can definitly split out the first loop into something like
> cgraph_mark_functions_to_output
> but the rest is basically toplogical sorting algorithm except for the
> expanding code itself, that can be cgraph_expand_function.
> Does that seem enought?

I'd split into marking and sorting.


r~


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