diff options
author | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-19 16:50:04 +0000 |
---|---|---|
committer | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-19 16:50:04 +0000 |
commit | f1955b223568e848f25b6ceb17ea3e0ab4107723 (patch) | |
tree | 0e4b37c013785f1d15280b4b88f14b5e0e90663e /gcc/df-core.c | |
parent | 9cd3c3700c67585ccb487c895703a4c13af81c5c (diff) | |
download | gcc-f1955b223568e848f25b6ceb17ea3e0ab4107723.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205044 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/df-core.c')
-rw-r--r-- | gcc/df-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/df-core.c b/gcc/df-core.c index 20d6c4e4fb5..37876af7b01 100644 --- a/gcc/df-core.c +++ b/gcc/df-core.c @@ -1097,7 +1097,7 @@ df_worklist_dataflow_doublequeue (struct dataflow *dataflow, fprintf (dump_file, "df_worklist_dataflow_doublequeue:" "n_basic_blocks %d n_edges %d" " count %d (%5.2g)\n", - n_basic_blocks_for_fn (cfun), n_edges, + n_basic_blocks_for_fn (cfun), n_edges_for_fn (cfun), dcount, dcount / (float)n_basic_blocks_for_fn (cfun)); } |