aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-utils.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2013-12-09 19:28:00 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2013-12-09 19:28:00 +0000
commitbbd7925926feee79874da1c763e4af2b2de62244 (patch)
tree5a2f5b9d50f7296da9ee986abdd750b460fad1d7 /gcc/ipa-utils.c
parent1f71a3c34d0909bd678aad967d4d853fc4c6d585 (diff)
downloadgcc-bbd7925926feee79874da1c763e4af2b2de62244.zip
gcc-bbd7925926feee79874da1c763e4af2b2de62244.tar.gz
gcc-bbd7925926feee79874da1c763e4af2b2de62244.tar.bz2
Rename macros (basic_block_info_for_function, BASIC_BLOCK_FOR_FUNCTION,
SET_BASIC_BLOCK_FOR_FUNCTION) gcc/ * basic-block.h (basic_block_info_for_function): Rename to... (basic_block_info_for_fn): ...this. (BASIC_BLOCK_FOR_FUNCTION): Rename to... (BASIC_BLOCK_FOR_FN): ...this. (SET_BASIC_BLOCK_FOR_FUNCTION): Rename to... (SET_BASIC_BLOCK_FOR_FN): ...this. * gimple-streamer-in.c (input_phi, input_bb): Update for renaming of BASIC_BLOCK_FOR_FUNCTION to BASIC_BLOCK_FOR_FN. * ipa-utils.c (ipa_merge_profiles): Likewise. * lto-streamer-in.c (make_new_block): Update for renaming of SET_BASIC_BLOCK_FOR_FUNCTION to SET_BASIC_BLOCK_FOR_FN. (input_cfg): Update for renamings. * tree-cfg.c (init_empty_tree_cfg_for_function): Likewise. (dump_function_to_file): Update for renaming of basic_block_info_for_function to basic_block_info_for_fn. From-SVN: r205816
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 8f2c727..5169bcc 100644
--- a/gcc/ipa-utils.c
+++ b/gcc/ipa-utils.c
@@ -727,7 +727,7 @@ ipa_merge_profiles (struct cgraph_node *dst,
{
unsigned int i;
- dstbb = BASIC_BLOCK_FOR_FUNCTION (dstcfun, srcbb->index);
+ dstbb = BASIC_BLOCK_FOR_FN (dstcfun, srcbb->index);
if (dstbb == NULL)
{
if (cgraph_dump_file)
@@ -772,7 +772,7 @@ ipa_merge_profiles (struct cgraph_node *dst,
{
unsigned int i;
- dstbb = BASIC_BLOCK_FOR_FUNCTION (dstcfun, srcbb->index);
+ dstbb = BASIC_BLOCK_FOR_FN (dstcfun, srcbb->index);
dstbb->count += srcbb->count;
for (i = 0; i < EDGE_COUNT (srcbb->succs); i++)
{