diff options
author | David Malcolm <dmalcolm@redhat.com> | 2013-11-19 16:50:04 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2013-11-19 16:50:04 +0000 |
commit | dc936fb236f9e85b88a8f59e2d33af2b76b786f7 (patch) | |
tree | 0e4b37c013785f1d15280b4b88f14b5e0e90663e /gcc/cfghooks.c | |
parent | e0f396bc05ef40940f4f158209df176e6c120b1c (diff) | |
download | gcc-dc936fb236f9e85b88a8f59e2d33af2b76b786f7.zip gcc-dc936fb236f9e85b88a8f59e2d33af2b76b786f7.tar.gz gcc-dc936fb236f9e85b88a8f59e2d33af2b76b786f7.tar.bz2 |
Eliminate n_edges macro
* basic-block.h (n_edges_for_function): Rename macro to...
(n_edges_for_fn): ...this.
(n_edges): Eliminate macro as work towards making uses of
cfun be explicit.
* cfg.c (init_flow): Update for renaming of "n_edges_for_function"
to "n_edges_for_fn".
* cfg.c (unchecked_make_edge): Remove usage of n_edges macro.
(clear_edges): Likewise.
(free_edge): Likewise.
* cfghooks.c (dump_flow_info): Likewise.
* cprop.c (is_too_expensive): Likewise.
* df-core.c (df_worklist_dataflow_doublequeue): Likewise.
* gcse.c (is_too_expensive): Likewise.
(prune_insertions_deletions): Likewise.
* mcf.c (create_fixup_graph): Likewise.
* sched-rgn.c (haifa_find_rgns): Likewise.
* tree-cfg.c (gimple_dump_cfg): Likewise.
* var-tracking.c (variable_tracking_main_1): Likewise.
From-SVN: r205044
Diffstat (limited to 'gcc/cfghooks.c')
-rw-r--r-- | gcc/cfghooks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfghooks.c b/gcc/cfghooks.c index 3016c54..20b90bf 100644 --- a/gcc/cfghooks.c +++ b/gcc/cfghooks.c @@ -324,7 +324,7 @@ dump_flow_info (FILE *file, int flags) basic_block bb; fprintf (file, "\n%d basic blocks, %d edges.\n", n_basic_blocks_for_fn (cfun), - n_edges); + n_edges_for_fn (cfun)); FOR_ALL_BB (bb) dump_bb (file, bb, 0, flags); |