diff options
author | Martin Liska <mliska@suse.cz> | 2019-10-30 13:02:17 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2019-10-30 12:02:17 +0000 |
commit | 430d1e8de0800bc758534ad8048d9e8d53bb2335 (patch) | |
tree | e25b86c0c2b6b181f704312936aea7a2f17627fb /gcc/ipa-icf-gimple.h | |
parent | 938bba616d438fadf604fdea50395d3fe356ef72 (diff) |
Remove comparison for polymorphic types.
2019-10-30 Martin Liska <mliska@suse.cz>
* ipa-icf-gimple.c (func_checker::func_checker): Do not
initialize m_compare_polymorphic.
(func_checker::compare_decl): Do not compare polymorphic types.
* ipa-icf-gimple.h (m_compare_polymorphic): Remove.
* ipa-icf.c (sem_function::equals_private): Do not call
compare_polymorphic_p.
From-SVN: r277617
Diffstat (limited to 'gcc/ipa-icf-gimple.h')
-rw-r--r-- | gcc/ipa-icf-gimple.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/ipa-icf-gimple.h b/gcc/ipa-icf-gimple.h index 9118f895e92..8e0f03c1d14 100644 --- a/gcc/ipa-icf-gimple.h +++ b/gcc/ipa-icf-gimple.h @@ -128,7 +128,6 @@ public: Similarly, IGNORE_SOURCE_DECLS and IGNORE_TARGET_DECLS are sets of declarations that can be skipped. */ func_checker (tree source_func_decl, tree target_func_decl, - bool compare_polymorphic, bool ignore_labels = false, hash_set<symtab_node *> *ignored_source_nodes = NULL, hash_set<symtab_node *> *ignored_target_nodes = NULL); @@ -258,9 +257,6 @@ private: /* Label to basic block index mapping. */ hash_map <tree, int> m_label_bb_map; - /* Flag if polymorphic comparison should be executed. */ - bool m_compare_polymorphic; - /* Flag if ignore labels in comparison. */ bool m_ignore_labels; |