aboutsummaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
authorBernd Schmidt <crux@pool.informatik.rwth-aachen.de>1998-10-19 09:47:55 +0000
committerJeff Law <law@gcc.gnu.org>1998-10-19 03:47:55 -0600
commit8e2f6e35ba3c0a41ce84e6a5e05731f00db3044f (patch)
tree5cc75d1ec07f21f993ad6ecedcd6cd7f5894aa7e /gcc/flow.c
parent02bc9733948fb3f06d4aa1ad1c93f4c67688545c (diff)
downloadgcc-8e2f6e35ba3c0a41ce84e6a5e05731f00db3044f.zip
gcc-8e2f6e35ba3c0a41ce84e6a5e05731f00db3044f.tar.gz
gcc-8e2f6e35ba3c0a41ce84e6a5e05731f00db3044f.tar.bz2
combine.c (recog_for_combine): Lose PADDED_SCRATCHES arg.
* 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. From-SVN: r23172
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index 8bc8a11..94251ff 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++;
}
}