diff options
author | J"orn Rennecke <amylaar@redhat.com> | 2001-09-21 00:45:30 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2001-09-21 01:45:30 +0100 |
commit | 385b6e2d89aafa6135634bf661b1b559dedc8de8 (patch) | |
tree | 17d728b05bed014f8620fd0df4576c3c1a968f86 /gcc/toplev.c | |
parent | a4b5b2ae8d59dbaf8c855590cbd78ad3f5c47b64 (diff) | |
download | gcc-385b6e2d89aafa6135634bf661b1b559dedc8de8.zip gcc-385b6e2d89aafa6135634bf661b1b559dedc8de8.tar.gz gcc-385b6e2d89aafa6135634bf661b1b559dedc8de8.tar.bz2 |
integrate.c (allocate_initial_values): New function.
* integrate.c (allocate_initial_values): New function.
* integrate.h (allocate_initial_values): Declare.
* local-alloc.c (local_alloc): Move call to allocate_reg_info from
here...
* reload1.c (reload): And initialization of reg_equiv_memory_loc
from here...
* toplev.c (rest_of_compilation): To here.
Call allocate_initial_values.
* tm.texi: add description for ALLOCATE_INITIAL_VALUE.
From-SVN: r45716
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 6364305..dc3bf74 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -3430,6 +3430,15 @@ rest_of_compilation (decl) if (! register_life_up_to_date) recompute_reg_usage (insns, ! optimize_size); + + /* Allocate the reg_renumber array. */ + allocate_reg_info (max_regno, FALSE, TRUE); + + /* And the reg_equiv_memory_loc array. */ + reg_equiv_memory_loc = (rtx *) xcalloc (max_regno, sizeof (rtx)); + + allocate_initial_values (reg_equiv_memory_loc); + regclass (insns, max_reg_num (), rtl_dump_file); rebuild_label_notes_after_reload = local_alloc (); |