From dc936fb236f9e85b88a8f59e2d33af2b76b786f7 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Tue, 19 Nov 2013 16:50:04 +0000 Subject: 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 --- gcc/cfghooks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/cfghooks.c') 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); -- cgit v1.1