diff options
author | Zdenek Dvorak <dvorakz@suse.cz> | 2006-11-21 01:20:02 +0100 |
---|---|---|
committer | Zdenek Dvorak <rakdver@gcc.gnu.org> | 2006-11-21 00:20:02 +0000 |
commit | ca83d38556d2c0ac60a369d42258fc0a39df86bf (patch) | |
tree | 5936129bd622c7aef21ba556b43971c620090ebd /gcc/cfgloop.h | |
parent | c61191974ba056b73abcee46eca65cd440a2b2e2 (diff) | |
download | gcc-ca83d38556d2c0ac60a369d42258fc0a39df86bf.tar.gz |
tree-ssa-loop-im.c (schedule_sm, [...]): Use vector of edges instead of array.
* tree-ssa-loop-im.c (schedule_sm, determine_lsm_ref,
hoist_memory_references, loop_suitable_for_sm, determine_lsm_loop):
Use vector of edges instead of array.
* tree-ssa-loop-niter.c (find_loop_niter, find_loop_niter_by_eval,
estimate_numbers_of_iterations_loop): Ditto.
* predict.c (predict_loops): Ditto.
* loop-unroll.c (analyze_insns_in_loop): Ditto.
* tree-ssa-threadupdate.c: Remove declaration of heap allocation for
edge vectors.
* basic-block.h: Declare heap allocation for edge vectors.
* tree-outof-ssa.c: Ditto.
* cfgloop.c (get_loop_exit_edges): Return vector of edges.
* cfgloop.h (get_loop_exit_edges): Declaration changed.
From-SVN: r119039
Diffstat (limited to 'gcc/cfgloop.h')
-rw-r--r-- | gcc/cfgloop.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h index 17a1cf7d931..b02b4c7879a 100644 --- a/gcc/cfgloop.h +++ b/gcc/cfgloop.h @@ -222,7 +222,7 @@ extern void mark_loop_exit_edges (struct loops *); extern basic_block *get_loop_body (const struct loop *); extern basic_block *get_loop_body_in_dom_order (const struct loop *); extern basic_block *get_loop_body_in_bfs_order (const struct loop *); -extern edge *get_loop_exit_edges (const struct loop *, unsigned *); +extern VEC (edge, heap) *get_loop_exit_edges (const struct loop *); extern unsigned num_loop_branches (const struct loop *); extern edge loop_preheader_edge (const struct loop *); |