loop-iv.c (iv_number_of_iterations): Make it static.
authorKazu Hirata <kazu@cs.umass.edu>
Tue, 9 Nov 2004 19:21:29 +0000 (19:21 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Tue, 9 Nov 2004 19:21:29 +0000 (19:21 +0000)
* loop-iv.c (iv_number_of_iterations): Make it static.
* cfgloop.h: Remove the corresponding prototype.

From-SVN: r90358

gcc/ChangeLog
gcc/cfgloop.h
gcc/loop-iv.c

index cc67fe2c2649de3a79a804054b5c72fc10ff2426..aaca5f30721278aa7c14ed72f2bff0994a022526 100644 (file)
@@ -1,3 +1,8 @@
+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,
index d59956e948bad1305c847616b44bfe9fa6107231..303d611731ce6d75938f6a30c624b69662decb2b 100644 (file)
@@ -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);
index 7105aaddcbc3c228e06cdf251fbb7153a42eb856..ed0defb70f7a13133c9aa3b8922757903da21f73 100644 (file)
@@ -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)
 {