From 98e6ab474e9729c1189617b133a64ad33c9c8304 Mon Sep 17 00:00:00 2001 From: dmalcolm Date: Mon, 9 Dec 2013 19:28:00 +0000 Subject: 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205816 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/gimple-streamer-in.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/gimple-streamer-in.c') diff --git a/gcc/gimple-streamer-in.c b/gcc/gimple-streamer-in.c index 57b0d871a5a..bc85ae9a353 100644 --- a/gcc/gimple-streamer-in.c +++ b/gcc/gimple-streamer-in.c @@ -67,7 +67,7 @@ input_phi (struct lto_input_block *ib, basic_block bb, struct data_in *data_in, int src_index = streamer_read_uhwi (ib); bitpack_d bp = streamer_read_bitpack (ib); location_t arg_loc = stream_input_location (&bp, data_in); - basic_block sbb = BASIC_BLOCK_FOR_FUNCTION (fn, src_index); + basic_block sbb = BASIC_BLOCK_FOR_FN (fn, src_index); edge e = NULL; int j; @@ -258,7 +258,7 @@ input_bb (struct lto_input_block *ib, enum LTO_tags tag, gcc_assert (cfun == fn); index = streamer_read_uhwi (ib); - bb = BASIC_BLOCK_FOR_FUNCTION (fn, index); + bb = BASIC_BLOCK_FOR_FN (fn, index); bb->count = apply_scale (streamer_read_gcov_count (ib), count_materialization_scale); -- cgit v1.2.1