From ea19eb9fba65626b303781048830f5db22a1cfa5 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Mon, 9 Dec 2013 19:53:08 +0000 Subject: 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. From-SVN: r205820 --- gcc/tree-cfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/tree-cfg.c') diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index 998ee26..6c2cc16 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -182,7 +182,7 @@ init_empty_tree_cfg_for_function (struct function *fn) { /* Initialize the basic block array. */ init_flow (fn); - profile_status_for_function (fn) = PROFILE_ABSENT; + profile_status_for_fn (fn) = PROFILE_ABSENT; n_basic_blocks_for_fn (fn) = NUM_FIXED_BLOCKS; last_basic_block_for_fn (fn) = NUM_FIXED_BLOCKS; vec_alloc (basic_block_info_for_fn (fn), initial_cfg_capacity); -- cgit v1.1