* varasm.c (struct constant_descriptor_tree): Add hash field.
commita3841d3a4cd9ca99363155222754d10bb3923734
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 May 2005 06:34:48 +0000 (17 06:34 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 May 2005 06:34:48 +0000 (17 06:34 +0000)
tree4d0630c9230d9c00c783fe5d8b8a6cc1265b7388
parent87367eac916518d9c43c167912d548c7ddcfc865
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99813 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/varasm.c