From f3c40e6dbeefd9efe87c6919805b669e3eb8b223 Mon Sep 17 00:00:00 2001 From: rakdver Date: Wed, 20 Dec 2006 14:15:53 +0000 Subject: * loop-unswitch.c (unswitch_loop): Update arguments of duplicate_loop_to_header_edge call. * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Ditto. * loop-unroll.c (peel_loop_completely, unroll_loop_constant_iterations, unroll_loop_runtime_iterations, peel_loop_simple, unroll_loop_stupid): Ditto. * cfgloopmanip.c (loop_version): Ditto. (duplicate_loop_to_header_edge): Change type of to_remove to VEC(edge), remove n_to_remove argument. * tree-ssa-loop-manip.c (tree_duplicate_loop_to_header_edge): Change type of to_remove to VEC(edge), remove n_to_remove argument. (tree_unroll_loop): Update arguments of tree_duplicate_loop_to_header_edge call. * cfghooks.c (cfg_hook_duplicate_loop_to_header_edge): Change type of to_remove to VEC(edge), remove n_to_remove argument. * cfghooks.h (struct cfg_hooks): Type of cfg_hook_duplicate_loop_to_header_edge changed. (cfg_hook_duplicate_loop_to_header_edge): Declaration changed. * cfgloop.h (duplicate_loop_to_header_edge): Ditto. * tree-flow.h (tree_duplicate_loop_to_header_edge): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120074 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cfghooks.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/cfghooks.c') diff --git a/gcc/cfghooks.c b/gcc/cfghooks.c index 89df3e54ea3..50aca9f1b69 100644 --- a/gcc/cfghooks.c +++ b/gcc/cfghooks.c @@ -939,14 +939,14 @@ bool cfg_hook_duplicate_loop_to_header_edge (struct loop *loop, edge e, unsigned int ndupl, sbitmap wont_exit, edge orig, - edge *to_remove, - unsigned int *n_to_remove, int flags) + VEC (edge, heap) **to_remove, + int flags) { gcc_assert (cfg_hooks->cfg_hook_duplicate_loop_to_header_edge); return cfg_hooks->cfg_hook_duplicate_loop_to_header_edge (loop, e, ndupl, wont_exit, orig, to_remove, - n_to_remove, flags); + flags); } /* Conditional jumps are represented differently in trees and RTL, -- cgit v1.2.1