summaryrefslogtreecommitdiff
path: root/gcc/ipa-icf.h
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2015-04-24 00:58:25 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2015-04-24 00:58:25 +0000
commitb3b9039b318661aeb62e4d5e47f457d33ea8d96f (patch)
tree819b00396021a82b9b24921b0e421c5e222bb057 /gcc/ipa-icf.h
parentf202f9d4566b6e907c45a78b529a652aa851a1f7 (diff)
downloadgcc-b3b9039b318661aeb62e4d5e47f457d33ea8d96f.tar.gz
* ipa-icf.c (sem_function::equals_wpa): Compare thunk info.
(sem_function::equals): IGNORED_NODES parameter is now unused; update call of equals_private. (sem_function::equals_private): Do not call equals_wpa; skip gimple body matching if there is no body. (sem_function::init): Add logic to hash tthunk info. (sem_function::parse): Also parse thunks. * ipa-icf.h (equals_private): Update declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222392 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-icf.h')
-rw-r--r--gcc/ipa-icf.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/ipa-icf.h b/gcc/ipa-icf.h
index 8ad09df4c8a..a3b9ab93678 100644
--- a/gcc/ipa-icf.h
+++ b/gcc/ipa-icf.h
@@ -380,8 +380,7 @@ private:
bool compare_edge_flags (cgraph_edge *e1, cgraph_edge *e2);
/* Processes function equality comparison. */
- bool equals_private (sem_item *item,
- hash_map <symtab_node *, sem_item *> &ignored_nodes);
+ bool equals_private (sem_item *item);
/* Returns true if tree T can be compared as a handled component. */
static bool icf_handled_component_p (tree t);