diff options
author | Per Bothner <pbothner@apple.com> | 2003-08-14 01:47:31 +0000 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 2003-08-13 18:47:31 -0700 |
commit | 2842011664f2dd313ab8f5784fadc36ecb9f57cf (patch) | |
tree | 306712cf301a45c74786d429176b00ca9028d9dc /gcc/emit-rtl.c | |
parent | 3def5fb4fdd830ec2e2a6a9df7dd29dbc33c8e25 (diff) | |
download | gcc-2842011664f2dd313ab8f5784fadc36ecb9f57cf.tar.gz |
regclass.c (init_reg_modes): Make non-static.
* 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.
From-SVN: r70426
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r-- | gcc/emit-rtl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index f88c5bf0903..95b40ec508f 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -5317,6 +5317,9 @@ init_emit_once (int line_numbers) enum machine_mode mode; enum machine_mode double_mode; + /* We need reg_raw_mode, so initialize the modes now. */ + init_reg_modes_once (); + /* Initialize the CONST_INT, CONST_DOUBLE, and memory attribute hash tables. */ const_int_htab = htab_create_ggc (37, const_int_htab_hash, |