aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-utils.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2013-12-09 19:35:13 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2013-12-09 19:35:13 +0000
commit3986e69022b87429756805d4dc34fe8a15fd7456 (patch)
tree657f046dd2370e1e49364d9cfafca1d1096bf9a8 /gcc/ipa-utils.c
parentbbd7925926feee79874da1c763e4af2b2de62244 (diff)
downloadgcc-3986e69022b87429756805d4dc34fe8a15fd7456.zip
gcc-3986e69022b87429756805d4dc34fe8a15fd7456.tar.gz
gcc-3986e69022b87429756805d4dc34fe8a15fd7456.tar.bz2
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. From-SVN: r205817
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 5169bcc..9297280 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,