]> git.ipfire.org Git - thirdparty/gcc.git/commit - libiberty/hashtab.c
conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Tue, 18 Apr 2000 20:42:00 +0000 (20:42 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 18 Apr 2000 20:42:00 +0000 (16:42 -0400)
commite38992e8d312b679eb3f4b9973567805a96511cb
tree83c55501d7538240d73d1cd61690beae93dbce4b
parent0d9eb3ba2922a07d68c27170de0195f5b96b4b0c
conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.

* gcc/conflict.c (conflict_graph_add): Pass enum type to
htab_find_slot.
* gcc/cpperror.c (hashtab.h): Now include.
* gcc/cppexp.c (hashtab.h): Likewise.
* gcc/cpplex.c (hashtab.h): Likewise.
* gcc/cppfiles.c (hashtab.h): Likewise.
(find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
to htab_find_slot_with_hash.
* gcc/cpphash.c (hashtab.h): Now include.
(_cpp_lookup_slot): INSERT is now enum insert_option.
* gcc/cpphash.h (_cpp_lookup_slot): Likewise.
* gcc/cppinit.c (hashtab.h): Include earlier.
(initialize_builtins): Pass enum to htab_find_slot.
* gcc/cpplib.c (hashtab.h): Now include.
(do_define, do_undef): Pass enum type to _cpp_lookup_slot.
(do_pragma_poison, do_assert): Likewise.
* gcc/emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
htab_find_slot_with_hash.
* gcc/simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
* gcc/tree.c (type_hash_add): Likewise.
(build1): Minor cleanup.
* include/hashtab.h (enum insert_option): New type.
(htab_find_slot, htab_find_slot_with_hash): Use it.
* libiberty/hashtab.c: Various minor cleanups.
(htab_find_slot_with_hash): INSERT is now enum insert_option.
(htab_find_slot): Likewise.

From-SVN: r33236
15 files changed:
gcc/ChangeLog
gcc/cpperror.c
gcc/cppexp.c
gcc/cppfiles.c
gcc/cpphash.c
gcc/cpphash.h
gcc/cppinit.c
gcc/cpplex.c
gcc/cpplib.c
gcc/emit-rtl.c
gcc/simplify-rtx.c
include/ChangeLog
include/hashtab.h
libiberty/ChangeLog
libiberty/hashtab.c