recog.c (peephole2_optimize): Make it static.
authorKazu Hirata <kazu@codesourcery.com>
Sat, 28 Jan 2006 15:17:22 +0000 (15:17 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sat, 28 Jan 2006 15:17:22 +0000 (15:17 +0000)
* recog.c (peephole2_optimize): Make it static.
* recog.h: Remove the prototype for peephole2_optimize.

From-SVN: r110327

gcc/ChangeLog
gcc/recog.c
gcc/recog.h

index eb79cdc644e5ac7215a27ba11ce7e97bf16f2a9c..5296efb732a8bc1b87bfe1699632ecedcba97bc8 100644 (file)
@@ -14,6 +14,9 @@
        * emit-rtl.c (init_virtual_regs): Make it static.
        * function.h: Remove the prototype for init_virtual_regs.
 
+       * recog.c (peephole2_optimize): Make it static.
+       * recog.h: Remove the prototype for peephole2_optimize.
+
 2006-01-27  H.J. Lu  <hongjiu.lu@intel.com>
 
        * df-scan.c (df_record_entry_block_defs): Check if
index 50f8de6b0f78b794009219acec5e9a951b0a26e0..25e143bce4c4905cf5ee997ed7488d51b163bad0 100644 (file)
@@ -3033,7 +3033,7 @@ peep2_find_free_register (int from, int to, const char *class_str,
 
 /* Perform the peephole2 optimization pass.  */
 
-void
+static void
 peephole2_optimize (FILE *dump_file ATTRIBUTE_UNUSED)
 {
   rtx insn, prev;
index 83e5c29067d0581244daff27949d00deffeede21..29bc2fd067d02df22b0ceae0abb26af8da72abc9 100644 (file)
@@ -119,7 +119,6 @@ extern int peep2_reg_dead_p (int, rtx);
 extern rtx peep2_find_free_register (int, int, const char *,
                                     enum machine_mode, HARD_REG_SET *);
 #endif
-extern void peephole2_optimize (FILE *);
 extern rtx peephole2_insns (rtx, rtx, int *);
 
 extern int store_data_bypass_p (rtx, rtx);