diff options
author | Jan Hubicka <jh@suse.cz> | 2005-04-09 18:09:11 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2005-04-09 16:09:11 +0000 |
commit | 7b0cab995daec07d1fddae14c57918ae0c30fb21 (patch) | |
tree | b5d29f6fe23b01c580491479ee045f7bfb5ac469 /gcc/cfglayout.c | |
parent | 5b296c8a7612a3a3adea46343e3475bbb979a2e8 (diff) | |
download | gcc-7b0cab995daec07d1fddae14c57918ae0c30fb21.tar.gz |
cfglayout.c (copy_bbs): Rename n_edges to num_edges.
* cfglayout.c (copy_bbs): Rename n_edges to num_edges.
* cfgloop.c (get_loop_exit_edges): Likewise.
* cfgloopmanip.c (fix_irreducible_loops): Likewise.
(unloop): Likewise.
* loop-unroll.c (analyze_insns_in_loop): Likewise.
* tree-cfg.c (dump_cfg_status): Likewise.
Co-Authored-By: Steven Bosscher <stevenb@suse.de>
From-SVN: r97903
Diffstat (limited to 'gcc/cfglayout.c')
-rw-r--r-- | gcc/cfglayout.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cfglayout.c b/gcc/cfglayout.c index 6b6006291d7..22c93f11420 100644 --- a/gcc/cfglayout.c +++ b/gcc/cfglayout.c @@ -1228,7 +1228,7 @@ end: void copy_bbs (basic_block *bbs, unsigned n, basic_block *new_bbs, - edge *edges, unsigned n_edges, edge *new_edges, + edge *edges, unsigned num_edges, edge *new_edges, struct loop *base) { unsigned i, j; @@ -1267,7 +1267,7 @@ copy_bbs (basic_block *bbs, unsigned n, basic_block *new_bbs, } /* Redirect edges. */ - for (j = 0; j < n_edges; j++) + for (j = 0; j < num_edges; j++) new_edges[j] = NULL; for (i = 0; i < n; i++) { @@ -1277,7 +1277,7 @@ copy_bbs (basic_block *bbs, unsigned n, basic_block *new_bbs, FOR_EACH_EDGE (e, ei, new_bb->succs) { - for (j = 0; j < n_edges; j++) + for (j = 0; j < num_edges; j++) if (edges[j] && edges[j]->src == bb && edges[j]->dest == e->dest) new_edges[j] = e; |