]> gcc.gnu.org Git - gcc.git/commit - libcpp/symtab.c
* tree.h (get_identifier) Define a macro form of get_identifier
authorRoger Sayle <roger@eyesopen.com>
Fri, 8 Aug 2003 20:23:06 +0000 (20:23 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Fri, 8 Aug 2003 20:23:06 +0000 (20:23 +0000)
commit7bb3fbbb4dd015ad83f96871e15124f896761284
treedc8f4bbb708356e7d8cc6e1931e9f1b46e3866b1
parent32247ce9e4968e0a7d48efd79b1853f77ad2e598
* tree.h (get_identifier) Define a macro form of get_identifier
that calls get_identifier_with_length when the string is constant.
(get_identifier_with_length): Change type of second argument to
size_t in prototype.
* stringpool.c (get_identifier): Undefine the macro before giving
the function definition.
(get_identifier_with_length): Change  type of second argument to
size_t in function definition.
* hashtable.c (calc_hash): Change type of second argument to size_t.
   (ht_lookup): Change type of third argument to size_t.  Reorganize
to speed-up the cases where the hash table slot is empty, or the
first probe matches (i.e. there isn't a collision).
* hashtable.h (ht_lookup): Adjust function prototype.

From-SVN: r70256
gcc/ChangeLog
gcc/hashtable.c
gcc/hashtable.h
gcc/stringpool.c
gcc/tree.h
This page took 0.053357 seconds and 5 git commands to generate.