move many gc hashtab to hash_table
authorTrevor Saunders <tsaunders@mozilla.com>
Sun, 12 Oct 2014 22:22:53 +0000 (22:22 +0000)
committerTrevor Saunders <tbsaunde@gcc.gnu.org>
Sun, 12 Oct 2014 22:22:53 +0000 (22:22 +0000)
commit2a22f99cb12d82712dd93cfef808b1cef543601b
treec828063f153ceb609ce5c7d44ea9f00391b32950
parent7b262a51ea2310bdb6cc901de00f04b0e7be0a4e
move many gc hashtab to hash_table

gcc/

* asan.c, cfgloop.c, cfgloop.h, cgraph.c, cgraph.h,
config/darwin.c, config/m32c/m32c.c, config/mep/mep.c,
config/mips/mips.c, config/rs6000/rs6000.c, dwarf2out.c,
function.c, function.h, gimple-ssa.h, libfuncs.h, optabs.c,
output.h, rtl.h, sese.c, symtab.c, tree-cfg.c, tree-dfa.c,
tree-ssa.c, varasm.c: Use hash-table instead of hashtab.
* doc/gty.texi (for_user): Document new option.
* gengtype.c (create_user_defined_type): Don't try to get a struct for
char.
(walk_type): Don't error out on for_user option.
(write_func_for_structure): Emit user marking routines if requested by
for_user option.
(write_local_func_for_structure): Likewise.
(main): Mark types with for_user option as used.
* ggc.h (gt_pch_nx): Add overload for unsigned int.
* hash-map.h (hash_map::hash_entry::pch_nx_helper): AddOverloads.
* hash-table.h (ggc_hasher): New struct.
(hash_table::create_ggc): New function.
(gt_pch_nx): New overload for hash_table.

java/

* class.c, decl.c, except.c, expr.c, java-tree.h, lang.c: Use
hash_table instead of hashtab.

objc/

* objc-act.c: use hash_table instead of hashtab.

cp/

* cp-gimplify.c, cp-tree.h, decl.c, mangle.c, name-lookup.c,
pt.c, semantics.c, tree.c, typeck2.c: Use hash_table instead of
hashtab.

fortran/

* trans-decl.c, trans.c, trans.h: Use hash_table instead of hashtab.

c-family/

* c-common.c: Use hash_table instead of hashtab.

From-SVN: r216127
55 files changed:
gcc/ChangeLog
gcc/asan.c
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/cfgloop.c
gcc/cfgloop.h
gcc/cgraph.c
gcc/cgraph.h
gcc/config/darwin.c
gcc/config/m32c/m32c.c
gcc/config/mep/mep.c
gcc/config/mips/mips.c
gcc/config/rs6000/rs6000.c
gcc/cp/ChangeLog
gcc/cp/cp-gimplify.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/mangle.c
gcc/cp/name-lookup.c
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/cp/tree.c
gcc/cp/typeck2.c
gcc/doc/gty.texi
gcc/dwarf2out.c
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/fortran/trans.c
gcc/fortran/trans.h
gcc/function.c
gcc/function.h
gcc/gengtype.c
gcc/ggc.h
gcc/gimple-ssa.h
gcc/hash-map.h
gcc/hash-table.h
gcc/java/ChangeLog
gcc/java/class.c
gcc/java/decl.c
gcc/java/except.c
gcc/java/expr.c
gcc/java/java-tree.h
gcc/java/lang.c
gcc/libfuncs.h
gcc/objc/ChangeLog
gcc/objc/objc-act.c
gcc/optabs.c
gcc/output.h
gcc/rtl.h
gcc/sese.c
gcc/symtab.c
gcc/tree-cfg.c
gcc/tree-dfa.c
gcc/tree-ssa.c
gcc/varasm.c