Commit 0ab57536 by Alexandre Oliva Committed by Alexandre Oliva

* class.c (JAVA_TREEHASHHASH_H): Use TYPE_UID.

From-SVN: r130427
parent 3bb839da
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
tree pointers.
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment