r194166 - in /branches/cxx-conversion/gcc: Chan...

crowl@gcc.gnu.org crowl@gcc.gnu.org
Tue Dec 4 20:04:00 GMT 2012


Author: crowl
Date: Tue Dec  4 20:04:08 2012
New Revision: 194166

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194166
Log:
Change various hash tables from htab_t to hash_table.
Each file is independent.

attribs.c scoped_attributes::attribute_hash
bitmap.c bitmap_desc_hash
dwarf2cfi.c trace_index
dwarf2out.c break_out_includes::cu_hash_table
dwarf2out.c copy_decls_for_unworthy_types::decl_table
dwarf2out.c optimize_external_refs::map
dwarf2out.c output_comp_unit::extern_map
dwarf2out.c output_comdat_type_unit::extern_map
dwarf2out.c output_macinfo::macinfo_htab
dwarf2out.c optimize_location_lists::htab
dwarf2out.c dwarf2out_finish::comdat_type_table
except.c ehspec_hash_type
except.c assign_filter_values::ttypes
except.c assign_filter_values::ehspec
except.c sjlj_assign_call_site_values::ar_hash
except.c convert_to_eh_region_ranges::ar_hash
trans-mem.c tm_new_mem_hash
tree-browser.c TB_up_ht
tree-eh.c finally_tree

Move the declaration of hash_table <alloc_pool_hasher> alloc_pool_hash
in alloc-pool.c to after the method definitions for its parameter
class.


Tested on x86-64.  


Index: gcc/ChangeLog

2012-11-30  Lawrence Crowl  <crowl@google.com>

	* alloc-pool.c (static hash_table <alloc_pool_hasher> alloc_pool_hash):
	Move declaration to after the type's method definitons.

	* attribs.c (htab_t scoped_attributes::attribute_hash):
	Change type to hash_table.  Update dependent calls and types.

	* bitmap.c (htab_t bitmap_desc_hash):
	Change type to hash_table.  Update dependent calls and types.

	* dwarf2cfi.c (htab_t trace_index):
	Change type to hash_table.  Update dependent calls and types.

	* dwarf2out.c (htab_t break_out_includes::cu_hash_table):
	Change type to hash_table.  Update dependent calls and types.
	(htab_t copy_decls_for_unworthy_types::decl_table): Likewise.
	(htab_t optimize_external_refs::map): Likewise.
	(htab_t output_comp_unit::extern_map): Likewise.
	(htab_t output_comdat_type_unit::extern_map): Likewise.
	(htab_t output_macinfo::macinfo_htab): Likewise.
	(htab_t optimize_location_lists::htab): Likewise.
	(htab_t dwarf2out_finish::comdat_type_table): Likewise.

	* except.c (htab_t ehspec_hash_type):
	Change type to hash_table.  Update dependent calls and types.
	(assign_filter_values::ttypes): Likewise.
	(assign_filter_values::ehspec): Likewise.
	(sjlj_assign_call_site_values::ar_hash): Likewise.
	(convert_to_eh_region_ranges::ar_hash): Likewise.

	* trans-mem.c (htab_t tm_new_mem_hash):
	Change type to hash_table.  Update dependent calls and types.

	* tree-browser.c (htab_t TB_up_ht):
	Change type to hash_table.  Update dependent calls and types.

	* tree-eh.c (htab_t finally_tree):
	Change type to hash_table.  Update dependent calls and types.

	* Makefile.in: Update to changes above.


Modified:
    branches/cxx-conversion/gcc/ChangeLog.cxx-conversion
    branches/cxx-conversion/gcc/Makefile.in
    branches/cxx-conversion/gcc/alloc-pool.c
    branches/cxx-conversion/gcc/attribs.c
    branches/cxx-conversion/gcc/bitmap.c
    branches/cxx-conversion/gcc/dwarf2cfi.c
    branches/cxx-conversion/gcc/dwarf2out.c
    branches/cxx-conversion/gcc/except.c
    branches/cxx-conversion/gcc/trans-mem.c
    branches/cxx-conversion/gcc/tree-browser.c
    branches/cxx-conversion/gcc/tree-eh.c



More information about the Gcc-cvs mailing list