varasm.c (struct constant_descriptor_tree): Add hash field.
authorJakub Jelinek <jakub@redhat.com>
Tue, 17 May 2005 06:34:48 +0000 (08:34 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 17 May 2005 06:34:48 +0000 (08:34 +0200)
commitb96917bffef6c486ceedbc93d994e2016e070e30
tree4d0630c9230d9c00c783fe5d8b8a6cc1265b7388
parent8de1f441bb72de63213667ce2af8152e3d2ce801
varasm.c (struct constant_descriptor_tree): Add hash field.

* varasm.c (struct constant_descriptor_tree): Add hash field.
(const_desc_hash): Just return hash field.
(const_desc_eq): If hash values are different, return 0 immediately.
(output_constant_def): Compute hash field of temporary key, use
htab_find_slot_with_hash instead of htab_find_slot.  Set hash in
newly built constant descriptor.
(lookup_constant_def): Compute hash field of temporary key, use
htab_find_with_hash instead of htab_find.

From-SVN: r99813
gcc/ChangeLog
gcc/varasm.c