r194619 - in /branches/cxx-conversion/gcc/confi...

crowl@gcc.gnu.org crowl@gcc.gnu.org
Wed Dec 19 19:07:00 GMT 2012


Author: crowl
Date: Wed Dec 19 19:07:41 2012
New Revision: 194619

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194619
Log:
Update various config htab_t uses to hash_table.

Modify types and calls to match.

* config/arm/arm.c'arm_libcall_uses_aapcs_base::libcall_htab

Fold libcall_eq and libcall_hash into new struct libcall_hasher.

* config/ia64/ia64.c'bundle_state_table

Fold bundle_state_hash and bundle_state_eq_p into new struct
bundle_state_hasher.

* config/mips/mips.c'mips_offset_table

Fold mips_lo_sum_offset_hash and mips_lo_sum_offset_eq into new
struct mips_lo_sum_offset_hasher.

In mips_reorg_process_insns, change call to for_each_rtx to pass
a pointer to the hash_table rather than a htab_t.  This change
requires then dereferencing that pointer in mips_record_lo_sum to
obtain the hash_table.

* config/sol2.c'solaris_comdat_htab

Fold comdat_hash and comdat_eq into new struct comdat_entry_hasher.

* config/i386/winnt.c'i386_pe_section_type_flags::htab

* config/i386/winnt.c'i386_find_on_wrapper_list::wrappers

Fold wrapper_strcmp into new struct wrapped_symbol_hasher.


Tested on x86-64.
Tested with contrib/config-list.mk.



Modified:
    branches/cxx-conversion/gcc/config/arm/arm.c
    branches/cxx-conversion/gcc/config/arm/t-arm
    branches/cxx-conversion/gcc/config/i386/t-cygming
    branches/cxx-conversion/gcc/config/i386/t-interix
    branches/cxx-conversion/gcc/config/i386/winnt.c
    branches/cxx-conversion/gcc/config/ia64/ia64.c
    branches/cxx-conversion/gcc/config/ia64/t-ia64
    branches/cxx-conversion/gcc/config/mips/mips.c
    branches/cxx-conversion/gcc/config/sol2.c
    branches/cxx-conversion/gcc/config/t-sol2



More information about the Gcc-cvs mailing list