IPA ICF: make type cache a static field sem_item.
authorMartin Liska <mliska@suse.cz>
Fri, 31 Aug 2018 11:37:09 +0000 (13:37 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 31 Aug 2018 11:37:09 +0000 (11:37 +0000)
commit6c72e55df00195f1c955e7ffdd76386613f69560
tree336c18e36fce422c94a0c239d4c005749839b801
parent5020c88e539e0212beec3568fb088ab95f484022
IPA ICF: make type cache a static field sem_item.

2018-08-31  Martin Liska  <mliska@suse.cz>

* ipa-icf.c (sem_item::add_type): Use
sem_item::m_type_hash_cache.
* ipa-icf.h: Move the cache from sem_item_optimizer
to sem_item.

From-SVN: r264014
gcc/ChangeLog
gcc/ipa-icf.c
gcc/ipa-icf.h