diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-09 16:09:11 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-09 16:09:11 +0000 |
commit | c75de2f766320b156ea827dee2c913cbf6e2d5e4 (patch) | |
tree | b5d29f6fe23b01c580491479ee045f7bfb5ac469 /gcc/cfgloop.c | |
parent | e2e2e227d2b3e279d62a1f565d87979bbaee4fb3 (diff) | |
download | gcc-c75de2f766320b156ea827dee2c913cbf6e2d5e4.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97903 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgloop.c')
-rw-r--r-- | gcc/cfgloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cfgloop.c b/gcc/cfgloop.c index 0e258c64a34..553fd981faa 100644 --- a/gcc/cfgloop.c +++ b/gcc/cfgloop.c @@ -926,7 +926,7 @@ get_loop_body_in_bfs_order (const struct loop *loop) /* Gets exit edges of a LOOP, returning their number in N_EDGES. */ edge * -get_loop_exit_edges (const struct loop *loop, unsigned int *n_edges) +get_loop_exit_edges (const struct loop *loop, unsigned int *num_edges) { edge *edges, e; unsigned i, n; @@ -942,7 +942,7 @@ get_loop_exit_edges (const struct loop *loop, unsigned int *n_edges) if (!flow_bb_inside_loop_p (loop, e->dest)) n++; edges = xmalloc (n * sizeof (edge)); - *n_edges = n; + *num_edges = n; n = 0; for (i = 0; i < loop->num_nodes; i++) FOR_EACH_EDGE (e, ei, body[i]->succs) |