OSDN Git Service

* hashtab.c (htab_size): Move to top of file; mark inline.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Apr 2004 01:40:43 +0000 (01:40 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Apr 2004 01:40:43 +0000 (01:40 +0000)
commitdd070f65d892ec426fc9dc013cfc04645043e6bc
tree6621dae6302a88c77859f3d2bab1c1eb7c59a27c
parent0a561da84c8588c81e5db2e502105afd428c7349
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80278 138bc75d-0d04-0410-961f-82ee72b054a4
libiberty/ChangeLog
libiberty/hashtab.c