Commit afdda4b4 by Richard Guenther Committed by Richard Biener

trans-decl.c (module_htab_decls_hash): Revert last change.

2010-05-16  Richard Guenther  <rguenther@suse.de>

	* trans-decl.c (module_htab_decls_hash): Revert last change.

From-SVN: r159462
parent e419f710
2010-05-16 Richard Guenther <rguenther@suse.de>
* trans-decl.c (module_htab_decls_hash): Revert last change.
2010-05-16 Richard Guenther <rguenther@suse.de>
* trans-decl.c (module_htab_decls_hash): Use IDENTIFIER_HASH_VALUE.
2010-05-16 Manuel López-Ibáñez <manu@gcc.gnu.org>
......
......@@ -3374,7 +3374,7 @@ module_htab_decls_hash (const void *x)
const_tree n = DECL_NAME (t);
if (n == NULL_TREE)
n = TYPE_NAME (TREE_TYPE (t));
return IDENTIFIER_HASH_VALUE (n);
return htab_hash_string (IDENTIFIER_POINTER (n));
}
static int
......
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