This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] emit-rtl.c: Make init_virtual_regs static.
- From: Kazu Hirata <kazu at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 28 Jan 2006 07:16:17 -0800
- Subject: [patch] emit-rtl.c: Make init_virtual_regs static.
Hi,
Attached is a patch to make init_virtual_regs static.
Bootstrapped on x86_64-pc-linux-gnu. Committed as preapproved.
Kazu Hirata
2006-01-28 Kazu Hirata <kazu@codesourcery.com>
* emit-rtl.c (init_virtual_regs): Make it static.
* function.h: Remove the prototype for init_virtual_regs.
Index: emit-rtl.c
===================================================================
--- emit-rtl.c (revision 110321)
+++ emit-rtl.c (working copy)
@@ -4889,7 +4889,7 @@ in_sequence_p (void)
/* Put the various virtual registers into REGNO_REG_RTX. */
-void
+static void
init_virtual_regs (struct emit_status *es)
{
rtx *ptr = es->x_regno_reg_rtx;
Index: function.h
===================================================================
--- function.h (revision 110321)
+++ function.h (working copy)
@@ -552,8 +552,6 @@ extern void use_return_register (void);
extern rtx get_arg_pointer_save_area (struct function *);
-extern void init_virtual_regs (struct emit_status *);
-
/* Returns the name of the current function. */
extern const char *current_function_name (void);