hashtab.c (htab_size): Move to top of file; mark inline.
authorRichard Henderson <rth@redhat.com>
Thu, 1 Apr 2004 01:40:43 +0000 (17:40 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 1 Apr 2004 01:40:43 +0000 (17:40 -0800)
commitd9175b871cddac9b9d3c7216bf3a8f665539d782
tree6621dae6302a88c77859f3d2bab1c1eb7c59a27c
parent2cbf9f609b249ed4fd6ddc56194ff84be680e6de
hashtab.c (htab_size): Move to top of file; mark inline.

        * hashtab.c (htab_size): Move to top of file; mark inline.
        (htab_elements): Likewise.
        (htab_mod, htab_mod_m2): New.
        (htab_delete): Refactor htab->size and htab->entries.
        (htab_empty): Likewise.
        (find_empty_slot_for_expand): Use htab_size, htab_mod, htab_mod_m2.
        (htab_find_with_hash, htab_find_slot_with_hash): Likewise.
        (htab_clear_slot): Use htab_size, htab_elements.
        (htab_traverse_noresize, htab_traverse): Likewise.

From-SVN: r80278
libiberty/ChangeLog
libiberty/hashtab.c