r162099 - in /trunk/gcc: ChangeLog Makefile.in ...

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Mon Jul 12 18:55:00 GMT 2010


Author: rsandifo
Date: Mon Jul 12 18:55:48 2010
New Revision: 162099

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162099
Log:
gcc/
	* Makefile.in (LIBFUNCS_H): Add $(HASHTAB_H).
	(target-globals.o): Depend on $(LIBFUNCS_H).
	* libfuncs.h: Include hashtab.h.
	(libfunc_entry): Moved from optabs.c.
	(target_libfuncs): New structure.
	(default_target_libfuncs): Declare.
	(this_target_libfuncs): Declare as a variable or define as a macro.
	(libfunc_table): Redefine as a macro.
	* optabs.c (default_target_libfuncs): New variable.
	(this_target_libfuncs): New conditional variable.
	(libfunc_table): Delete.
	(libfunc_entry): Moved to optabs.h.
	(libfunc_hash): Redefine as a macro.
	(hash_libfunc, eq_libfunc): Fix comments.
	(init_optabs): Use libfunc_hash to detect cases where the function
	has already been called.  Clear the hash table instead of
	recreating it.
	* target-globals.h (this_target_libfuncs): Declare.
	(target_globals): Add a libfuncs field.
	(restore_target_globals): Copy the libfuncs field to
	this_target_libfuncs.
	* target-globals.c: Include libfuncs.h.
	(default_target_globals): Initialize the libfuncs field.
	(save_target_globals): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/Makefile.in
    trunk/gcc/libfuncs.h
    trunk/gcc/optabs.c
    trunk/gcc/target-globals.c
    trunk/gcc/target-globals.h



More information about the Gcc-cvs mailing list