From 34f89b5f682060e18cc4ba8dfaba8be1d309d5d3 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Fri, 2 Oct 1998 04:21:20 -0600 Subject: 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 --- gcc/regs.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'gcc/regs.h') diff --git a/gcc/regs.h b/gcc/regs.h index a4065e6..1ececb3 100644 --- a/gcc/regs.h +++ b/gcc/regs.h @@ -223,14 +223,5 @@ extern int caller_save_needed; #define HARD_REGNO_CALL_PART_CLOBBERED(REGNO, MODE) 0 #endif -/* Allocated in local_alloc. */ - -/* A list of SCRATCH rtl allocated by local-alloc. */ -extern rtx *scratch_list; -/* The basic block in which each SCRATCH is used. */ -extern int *scratch_block; -/* The length of the arrays pointed to by scratch_block and scratch_list. */ -extern int scratch_list_length; - /* Allocate reg_n_info tables */ extern void allocate_reg_info PROTO((size_t, int, int)); -- cgit v1.1