diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-10-19 09:47:55 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-10-19 09:47:55 +0000 |
commit | d99430400619ad311f2fe9468b9a7ebc2380439a (patch) | |
tree | 5cc75d1ec07f21f993ad6ecedcd6cd7f5894aa7e /gcc/flow.c | |
parent | 831f2d1b1019cf61a3178322808b8fd9a74a4b0e (diff) | |
download | gcc-d99430400619ad311f2fe9468b9a7ebc2380439a.tar.gz |
* combine.c (recog_for_combine): Lose PADDED_SCRATCHES arg. All
callers changed.
(try_combine): Don't update max_scratch.
* flow.c (max_scratch, num_scratch): Delete variables.
(life_analysis_1): Don't initialize max_scratch.
(propagate_block): Don't update max_scratch.
(mark_set_1): Don't increment num_scratch.
* regs.h (max_scratch): Delete declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23172 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/flow.c')
-rw-r--r-- | gcc/flow.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc/flow.c b/gcc/flow.c index 8bc8a110ba0..94251ff3842 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -167,15 +167,6 @@ int n_basic_blocks; int max_regno; -/* Maximum number of SCRATCH rtx's used in any basic block of this - function. */ - -int max_scratch; - -/* Number of SCRATCH rtx's in the current block. */ - -static int num_scratch; - /* Indexed by n, giving various register information */ varray_type reg_n_info; @@ -1544,8 +1535,6 @@ life_analysis_1 (f, nregs) basic_block_live_at_start[i]). This is ok now because basic_block_live_at_end[i] is no longer used past this point. */ - max_scratch = 0; - for (i = 0; i < n_basic_blocks; i++) { propagate_block (basic_block_live_at_end[i], @@ -1733,8 +1722,6 @@ propagate_block (old, first, last, final, significant, bnum) { register int i; - num_scratch = 0; - /* Process the regs live at the end of the block. Mark them as not local to any one basic block. */ EXECUTE_IF_SET_IN_REG_SET (old, 0, i, @@ -1962,9 +1949,6 @@ propagate_block (old, first, last, final, significant, bnum) FREE_REG_SET (dead); FREE_REG_SET (live); - - if (num_scratch > max_scratch) - max_scratch = num_scratch; } /* Return 1 if X (the body of an insn, or part of it) is just dead stores @@ -2412,7 +2396,6 @@ mark_set_1 (needed, dead, x, insn, significant) { REG_NOTES (insn) = gen_rtx_EXPR_LIST (REG_UNUSED, reg, REG_NOTES (insn)); - num_scratch++; } } |