OSDN Git Service

* loop-iv.c (iv_number_of_iterations): Make it static.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Nov 2004 19:21:29 +0000 (19:21 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Nov 2004 19:21:29 +0000 (19:21 +0000)
* cfgloop.h: Remove the corresponding prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90358 138bc75d-0d04-0410-961f-82ee72b054a4

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

index cc67fe2..aaca5f3 100644 (file)
@@ -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.
index d59956e..303d611 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 7105aad..ed0defb 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)
 {