summaryrefslogtreecommitdiff
path: root/gcc/ipa-utils.c
diff options
context:
space:
mode:
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-09 19:35:13 +0000
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-09 19:35:13 +0000
commit776b0663d64c7d887237e99b81d22ee5f4831e0d (patch)
tree657f046dd2370e1e49364d9cfafca1d1096bf9a8 /gcc/ipa-utils.c
parent98e6ab474e9729c1189617b133a64ad33c9c8304 (diff)
downloadgcc-776b0663d64c7d887237e99b81d22ee5f4831e0d.tar.gz
Rename last_basic_block_for_function to last_basic_block_for_fn.
gcc/ * basic-block.h (last_basic_block_for_function): Rename to... (last_basic_block_for_fn): ...this. * ipa-utils.c (ipa_merge_profiles): Update for renaming of last_basic_block_for_function to last_basic_block_for_fn. * lto-streamer-in.c (input_cfg): Likewise. * lto-streamer-out.c (output_cfg): Likewise. * tree-cfg.c (init_empty_tree_cfg_for_function): Likewise. * tree-sra.c (propagate_dereference_distances, ipa_early_sra): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205817 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-utils.c')
-rw-r--r--gcc/ipa-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ipa-utils.c b/gcc/ipa-utils.c
index 5169bcc6508..92972803ba0 100644
--- a/gcc/ipa-utils.c
+++ b/gcc/ipa-utils.c
@@ -711,8 +711,8 @@ ipa_merge_profiles (struct cgraph_node *dst,
"Giving up; number of basic block mismatch.\n");
match = false;
}
- else if (last_basic_block_for_function (srccfun)
- != last_basic_block_for_function (dstcfun))
+ else if (last_basic_block_for_fn (srccfun)
+ != last_basic_block_for_fn (dstcfun))
{
if (cgraph_dump_file)
fprintf (cgraph_dump_file,