* class.c (JAVA_TREEHASHHASH_H): Use TYPE_UID.

From-SVN: r130427
This commit is contained in:
Alexandre Oliva 2007-11-26 06:28:39 +00:00 committed by Alexandre Oliva
parent 3bb839da04
commit 0ab57536c0
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-11-26 Alexandre Oliva <aoliva@redhat.com>
* class.c (JAVA_TREEHASHHASH_H): Use TYPE_UID.
2007-11-26 Alexandre Oliva <aoliva@redhat.com>
* expr.c (type_assertion_hash): Hash type uids rather than

View File

@ -3070,7 +3070,7 @@ static int java_treetreehash_compare (const void *, const void *);
/* A hash table mapping trees to trees. Used generally. */
#define JAVA_TREEHASHHASH_H(t) (htab_hash_pointer (t))
#define JAVA_TREEHASHHASH_H(t) ((hashval_t)TYPE_UID (t))
static hashval_t
java_treetreehash_hash (const void *k_p)