aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorMark Mitchell <mark@markmitchell.com>1998-11-17 11:50:24 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1998-11-17 11:50:24 +0000
commita87ec9e6555785cfc21dfbf8078fa0728f4a0030 (patch)
treeef9a03446edddcfd9973bbd42794b02e7d002f1c /gcc/java
parente398aa80628423ec3d52bca83864a8fc908641c1 (diff)
downloadgcc-a87ec9e6555785cfc21dfbf8078fa0728f4a0030.zip
gcc-a87ec9e6555785cfc21dfbf8078fa0728f4a0030.tar.gz
gcc-a87ec9e6555785cfc21dfbf8078fa0728f4a0030.tar.bz2
hash.h (hash_table_key): New type.
* hash.h (hash_table_key): New type. (hash_entry): Change `string' field to generic `key'. (hash_table): Add `comp' and `hash' functions. (hash_table_init): Take them as input. (hash_table_init_n): Likewise. (hash_lookup): Modify for generic keys. (hash_newfunc): Likewise. (hash_traverse): Likewise. (string_hash): New function. (string_compare): Likewise. (string_copy): Likewise. * hash.c (hash_table_init_n): Modify for generic keys. (hash_table_init): Likewise. (hash_lookup): Likewise. (hash_newfunc): Likewise. (hash_traverse): Likewise. (string_hash): Split out from hash_lookup. (string_compare): New function. (string_copy): Split out from hash_lookup. * tlink.c (symbol_hash_newfunc): Modify for new interfaces to hash tables. (symbol_hash_lookup): Likewise. (file_hash_newfunc): Likewise. (file_hash_lookup): Likewise. (demangled_hash_newfunc): Likewise. (demangled_hash_lookup): Likewise. (tlink_int): Likewise. (read_repo_file): Likewise. (recompile_files): Likewise. (demangle_new_symbols): Likewise. (scan_linker_output): Likewise. From-SVN: r23683
Diffstat (limited to 'gcc/java')
0 files changed, 0 insertions, 0 deletions