aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ipa-utils.c')
-rw-r--r--gcc/ipa-utils.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ipa-utils.c b/gcc/ipa-utils.c
index 3345f9d..422d8d0 100644
--- a/gcc/ipa-utils.c
+++ b/gcc/ipa-utils.c
@@ -643,7 +643,9 @@ ipa_merge_profiles (struct cgraph_node *dst,
}
if (!preserve_body)
src->release_body ();
- ipa_update_overall_fn_summary (dst);
+ /* Update summary. */
+ symtab->call_cgraph_removal_hooks (dst);
+ symtab->call_cgraph_insertion_hooks (dst);
}
/* TODO: if there is no match, we can scale up. */
src->decl = oldsrcdecl;