summaryrefslogtreecommitdiff
path: root/gcc/global.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-02 10:21:20 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-02 10:21:20 +0000
commitaae4a438f3fb66ebf17bf6f6f525afdf83e69781 (patch)
treecc757909a43c13cae9d06d36541edf2dd5023758 /gcc/global.c
parent28f03bef8a880d6671637f90fd4924a59f72cc5a (diff)
downloadgcc-aae4a438f3fb66ebf17bf6f6f525afdf83e69781.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22751 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/global.c')
-rw-r--r--gcc/global.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/global.c b/gcc/global.c
index 3b0c0ec7a4c..e7edb6d36ac 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. */