diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-11-09 19:21:29 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-11-09 19:21:29 +0000 |
commit | e3715ebdd3e99c729f6ae7081633904b338d3386 (patch) | |
tree | aab431a62d07bcf7a388163b0eda65661f1db3b5 /gcc | |
parent | 6fe79279b75e0e1bc82d7eb56a3d8fa15aac18e2 (diff) | |
download | gcc-e3715ebdd3e99c729f6ae7081633904b338d3386.zip gcc-e3715ebdd3e99c729f6ae7081633904b338d3386.tar.gz gcc-e3715ebdd3e99c729f6ae7081633904b338d3386.tar.bz2 |
loop-iv.c (iv_number_of_iterations): Make it static.
* loop-iv.c (iv_number_of_iterations): Make it static.
* cfgloop.h: Remove the corresponding prototype.
From-SVN: r90358
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cfgloop.h | 2 | ||||
-rw-r--r-- | gcc/loop-iv.c | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cc67fe2..aaca5f3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2004-11-09 Kazu Hirata <kazu@cs.umass.edu> + * loop-iv.c (iv_number_of_iterations): Make it static. + * cfgloop.h: Remove the corresponding prototype. + +2004-11-09 Kazu Hirata <kazu@cs.umass.edu> + * function.c (combine_temp_slots, assign_parms, expand_pending_sizes): Make them static. * tree.h: Remove the corresponding prototypes. diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h index d59956e..303d611 100644 --- a/gcc/cfgloop.h +++ b/gcc/cfgloop.h @@ -437,8 +437,6 @@ extern bool iv_analyze (rtx, rtx, struct rtx_iv *); extern rtx get_iv_value (struct rtx_iv *, rtx); extern bool biv_p (rtx, rtx); extern void find_simple_exit (struct loop *, struct niter_desc *); -extern void iv_number_of_iterations (struct loop *, rtx, rtx, - struct niter_desc *); extern void iv_analysis_done (void); extern struct niter_desc *get_simple_loop_desc (struct loop *loop); diff --git a/gcc/loop-iv.c b/gcc/loop-iv.c index 7105aad..ed0defb 100644 --- a/gcc/loop-iv.c +++ b/gcc/loop-iv.c @@ -2006,7 +2006,7 @@ canonicalize_iv_subregs (struct rtx_iv *iv0, struct rtx_iv *iv1, the result into DESC. Very similar to determine_number_of_iterations (basically its rtl version), complicated by things like subregs. */ -void +static void iv_number_of_iterations (struct loop *loop, rtx insn, rtx condition, struct niter_desc *desc) { |