diff options
author | David Malcolm <dmalcolm@redhat.com> | 2013-12-09 19:28:00 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2013-12-09 19:28:00 +0000 |
commit | bbd7925926feee79874da1c763e4af2b2de62244 (patch) | |
tree | 5a2f5b9d50f7296da9ee986abdd750b460fad1d7 /gcc/basic-block.h | |
parent | 1f71a3c34d0909bd678aad967d4d853fc4c6d585 (diff) | |
download | gcc-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/basic-block.h')
-rw-r--r-- | gcc/basic-block.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/basic-block.h b/gcc/basic-block.h index 58bacc3..234f6e9 100644 --- a/gcc/basic-block.h +++ b/gcc/basic-block.h @@ -314,17 +314,17 @@ struct GTY(()) control_flow_graph { /* Defines for accessing the fields of the CFG structure for function FN. */ #define ENTRY_BLOCK_PTR_FOR_FN(FN) ((FN)->cfg->x_entry_block_ptr) #define EXIT_BLOCK_PTR_FOR_FN(FN) ((FN)->cfg->x_exit_block_ptr) -#define basic_block_info_for_function(FN) ((FN)->cfg->x_basic_block_info) +#define basic_block_info_for_fn(FN) ((FN)->cfg->x_basic_block_info) #define n_basic_blocks_for_fn(FN) ((FN)->cfg->x_n_basic_blocks) #define n_edges_for_fn(FN) ((FN)->cfg->x_n_edges) #define last_basic_block_for_function(FN) ((FN)->cfg->x_last_basic_block) #define label_to_block_map_for_function(FN) ((FN)->cfg->x_label_to_block_map) #define profile_status_for_function(FN) ((FN)->cfg->x_profile_status) -#define BASIC_BLOCK_FOR_FUNCTION(FN,N) \ - ((*basic_block_info_for_function (FN))[(N)]) -#define SET_BASIC_BLOCK_FOR_FUNCTION(FN,N,BB) \ - ((*basic_block_info_for_function (FN))[(N)] = (BB)) +#define BASIC_BLOCK_FOR_FN(FN,N) \ + ((*basic_block_info_for_fn (FN))[(N)]) +#define SET_BASIC_BLOCK_FOR_FN(FN,N,BB) \ + ((*basic_block_info_for_fn (FN))[(N)] = (BB)) /* Defines for textual backward source compatibility. */ #define basic_block_info (cfun->cfg->x_basic_block_info) |