summaryrefslogtreecommitdiff
path: root/gcc/regclass.c
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-14 01:47:31 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-14 01:47:31 +0000
commitc235b58a9960d521ea6a36f5a1deb0821dced436 (patch)
tree306712cf301a45c74786d429176b00ca9028d9dc /gcc/regclass.c
parenta99eb96d97c5a49aebecbb58a7cad6ac8eedeb12 (diff)
downloadgcc-c235b58a9960d521ea6a36f5a1deb0821dced436.tar.gz
* regclass.c (init_reg_modes): Make non-static.
Rename to init_reg_modes_once per new naming convention. (init_regs): Don't call init_reg_modes here. * emit-rtl.c (init_emit_once): Call init_reg_modes_once here instead. * rtl.h (init_reg_modes_once): New declaration. * toplev.c (backend_init): Call init_regs after init_emit_once. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70426 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/regclass.c')
-rw-r--r--gcc/regclass.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/regclass.c b/gcc/regclass.c
index ec636d777aa..9c496b6afdc 100644
--- a/gcc/regclass.c
+++ b/gcc/regclass.c
@@ -46,7 +46,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "timevar.h"
static void init_reg_sets_1 (void);
-static void init_reg_modes (void);
static void init_reg_autoinc (void);
/* If we have auto-increment or auto-decrement and we can have secondary
@@ -546,8 +545,8 @@ init_reg_sets_1 (void)
These values are used to record death information for individual registers
(as opposed to a multi-register mode). */
-static void
-init_reg_modes (void)
+void
+init_reg_modes_once (void)
{
int i;
@@ -575,8 +574,6 @@ init_regs (void)
until after register usage was specified. */
init_reg_sets_1 ();
- init_reg_modes ();
-
init_reg_autoinc ();
}