diff options
author | Bernd Schmidt <crux@pool.informatik.rwth-aachen.de> | 1998-10-02 04:21:20 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-10-02 04:21:20 -0600 |
commit | 34f89b5f682060e18cc4ba8dfaba8be1d309d5d3 (patch) | |
tree | cc757909a43c13cae9d06d36541edf2dd5023758 /gcc/global.c | |
parent | 4afb3646a5d46f24202d139f7c58748daab18ff6 (diff) | |
download | gcc-34f89b5f682060e18cc4ba8dfaba8be1d309d5d3.zip gcc-34f89b5f682060e18cc4ba8dfaba8be1d309d5d3.tar.gz gcc-34f89b5f682060e18cc4ba8dfaba8be1d309d5d3.tar.bz2 |
global.c (global_alloc): Delete code to manage the scratch_list.
* global.c (global_alloc): Delete code to manage the scratch_list.
* local-alloc.c (qty_scratch_rtx): Delete.
(scratch_block): Delete.
(scratch_list): Delete.
(scratch_list_length): Delete.
(scratch_index): Delete.
(alloc_qty_for_scratch): Delete.
(local-alloc): Update initialization of max_qty.
Delete code to manage the scratch list.
Delete code to allocate/initialize qty_scratch_rtx.
(block_alloc): Don't allocate quantities for scratches.
Delete code to manage the scratch list.
* regs.h (scratch_list): Delete declaration.
(scratch_block): Delete declaration.
(scratch_list_length): Delete declaration.
* reload1.c (reload): Delete code to manage the scratch list.
(spill_hard_reg): Likewise.
(mark_scratch_live): Delete.
From-SVN: r22751
Diffstat (limited to 'gcc/global.c')
-rw-r--r-- | gcc/global.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/global.c b/gcc/global.c index 3b0c0ec..e7edb6d 100644 --- a/gcc/global.c +++ b/gcc/global.c @@ -450,18 +450,6 @@ global_alloc (file) for (i = 0; i < FIRST_PSEUDO_REGISTER; i++) if (regs_ever_live[i]) local_reg_n_refs[i] = 0; - - /* Likewise for regs used in a SCRATCH. */ - for (i = 0; i < scratch_list_length; i++) - if (scratch_list[i]) - { - int regno = REGNO (scratch_list[i]); - int lim = regno + HARD_REGNO_NREGS (regno, GET_MODE (scratch_list[i])); - int j; - - for (j = regno; j < lim; j++) - local_reg_n_refs[j] = 0; - } /* Allocate the space for the conflict and preference tables and initialize them. */ |