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: Minor cgraph cleanups


> This fixes some minor ugliness I noticed while looking at this code. It
> renames a poorly named global variable (shadowed by some function args
> in the same file), replaces a cast of an integer value to a pointer, and
> removes an undocumented and unused return value.
> 
> Bootstrapped and tested on x86_64-linux, ok?
> 
> 
> Bernd

> 	* cgraphunit.c (symtab_terminator): New variable.
> 	(queued_nodes): Renamed from first.  Use symtab_terminator as
> 	initializer.
> 	(analyze_functions): Adjust accordingly.
> 	(cgraph_process_new_functions): Return void.
> 	* cgraph.h (cgraph_process_new_functions): Adjust declaration.

OK,
thanks!
Honza


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