From e94aab95ee93fd7c5f31ad1ec5aecdb9c3c97453 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 28 Jan 2006 15:17:22 +0000 Subject: [PATCH] recog.c (peephole2_optimize): Make it static. * recog.c (peephole2_optimize): Make it static. * recog.h: Remove the prototype for peephole2_optimize. From-SVN: r110327 --- gcc/ChangeLog | 3 +++ gcc/recog.c | 2 +- gcc/recog.h | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eb79cdc644e..5296efb732a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 * df-scan.c (df_record_entry_block_defs): Check if diff --git a/gcc/recog.c b/gcc/recog.c index 50f8de6b0f7..25e143bce4c 100644 --- a/gcc/recog.c +++ b/gcc/recog.c @@ -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; diff --git a/gcc/recog.h b/gcc/recog.h index 83e5c29067d..29bc2fd067d 100644 --- a/gcc/recog.h +++ b/gcc/recog.h @@ -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); -- 2.30.2