aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfg.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2013-12-09 19:53:08 +0000
committerDavid Malcolm <dmalcolm@redhat.com>2013-12-09 19:53:08 +0000
commita00ad1894e9566267583d7e1712ddc249624b907 (patch)
treeec787489d8c06f8de6edf15db1529b7a23597d34 /gcc/cfg.c
parent0c920db66cb2e4646989680109aadf7368f29430 (diff)
Rename profile_status_for_function to profile_status_for_fn.
gcc/ * basic-block.h (profile_status_for_function): Rename to... (profile_status_for_fn): ...this. * cfg.c (check_bb_profile): Update for renaming. * cgraphbuild.c (compute_call_stmt_bb_frequency): Likewise. * lto-streamer-in.c (input_cfg): Likewise. * lto-streamer-out.c (output_cfg): Likewise. * predict.c (maybe_hot_frequency_p, maybe_hot_count_p, maybe_hot_bb_p, probably_never_executed) (handle_missing_profiles): Likewise. * tree-cfg.c (init_empty_tree_cfg_for_function): Likewise. * tree-inline.c (copy_bb, initialize_cfun): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@205820 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfg.c')
-rw-r--r--gcc/cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfg.c b/gcc/cfg.c
index 6bceca5ed26..786fe4838ff 100644
--- a/gcc/cfg.c
+++ b/gcc/cfg.c
@@ -408,7 +408,7 @@ check_bb_profile (basic_block bb, FILE * file, int indent, int flags)
memset ((void *) s_indent, ' ', (size_t) indent);
s_indent[indent] = '\0';
- if (profile_status_for_function (fun) == PROFILE_ABSENT)
+ if (profile_status_for_fn (fun) == PROFILE_ABSENT)
return;
if (bb != EXIT_BLOCK_PTR_FOR_FN (fun))