diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2006-01-28 15:17:22 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2006-01-28 15:17:22 +0000 |
commit | e94aab95ee93fd7c5f31ad1ec5aecdb9c3c97453 (patch) | |
tree | ccb07d8494f4e0b91b6e0912e0bd9b28a0a1f97f | |
parent | 2bbdec73940051f8883010741c58676241b855bd (diff) | |
download | gcc-e94aab95ee93fd7c5f31ad1ec5aecdb9c3c97453.zip gcc-e94aab95ee93fd7c5f31ad1ec5aecdb9c3c97453.tar.gz gcc-e94aab95ee93fd7c5f31ad1ec5aecdb9c3c97453.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/recog.c | 2 | ||||
-rw-r--r-- | gcc/recog.h | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eb79cdc..5296efb 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 <hongjiu.lu@intel.com> * df-scan.c (df_record_entry_block_defs): Check if diff --git a/gcc/recog.c b/gcc/recog.c index 50f8de6..25e143b 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 83e5c29..29bc2fd 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); |