summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/hashtable.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/hashtable.h')
-rw-r--r--contrib/gcc/hashtable.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/gcc/hashtable.h b/contrib/gcc/hashtable.h
index cd6c7f0..0649ad2 100644
--- a/contrib/gcc/hashtable.h
+++ b/contrib/gcc/hashtable.h
@@ -23,10 +23,11 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* This is what each hash table entry points to. It may be embedded
deeply within another object. */
typedef struct ht_identifier ht_identifier;
-struct ht_identifier
+struct ht_identifier GTY(())
{
- unsigned int len;
const unsigned char *str;
+ unsigned int len;
+ unsigned int hash_value;
};
#define HT_LEN(NODE) ((NODE)->len)
@@ -65,7 +66,7 @@ struct ht
extern void gcc_obstack_init PARAMS ((struct obstack *));
-/* Initialise the hashtable with 2 ^ order entries. */
+/* Initialize the hashtable with 2 ^ order entries. */
extern hash_table *ht_create PARAMS ((unsigned int order));
/* Frees all memory associated with a hash table. */
OpenPOWER on IntegriCloud