diff mbox

Make reload_cse_regs static

Message ID CABu31nNjbPHGUaM0xHAOCtnCvdRhZq-Z+=WHQODe21KPR=jDfw@mail.gmail.com
State New
Headers show

Commit Message

Steven Bosscher May 4, 2012, 7:43 p.m. UTC
Hello,

This patch makes reload_cse_regs static because it is never called
outside of postreload.c.

Will commit next week, after the usual testing and if no-one objects.

Ciao!
Steven

	* postreload.c (reload_cse_regs): Make static.
	* reload.h (reload_cse_regs): Remove prototype.
diff mbox

Patch

Index: postreload.c
===================================================================
--- postreload.c	(revision 187177)
+++ postreload.c	(working copy)
@@ -64,7 +64,8 @@  static void move2add_note_store (rtx, co

 /* Call cse / combine like post-reload optimization phases.
    FIRST is the first instruction.  */
-void
+
+static void
 reload_cse_regs (rtx first ATTRIBUTE_UNUSED)
 {
   bool moves_converted;
Index: reload.h
===================================================================
--- reload.h	(revision 187177)
+++ reload.h	(working copy)
@@ -411,9 +411,6 @@  extern int push_reload (rtx, rtx, rtx *,
 			enum machine_mode, enum machine_mode,
 			int, int, int, enum reload_type);

-/* Functions in postreload.c:  */
-extern void reload_cse_regs (rtx);
-
 /* Functions in reload1.c:  */

 /* Initialize the reload pass once per compilation.  */