* recog.c (peephole2_optimize): Make it static.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Jan 2006 15:17:22 +0000 (15:17 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Jan 2006 15:17:22 +0000 (15:17 +0000)
* recog.h: Remove the prototype for peephole2_optimize.

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

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

index eb79cdc..5296efb 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 50f8de6..25e143b 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 83e5c29..29bc2fd 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);