diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-07-24 15:32:05 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-07-24 15:32:05 +0000 |
commit | 32f26f7682cfdb70ded9125e939a38668c0935dc (patch) | |
tree | 39e6b4c44aada0143560809833b79f8b0169d260 /gcc/gcse.c | |
parent | 8123d49ba497753d50ba9798372dc9c397a6e8e4 (diff) | |
download | gcc-32f26f7682cfdb70ded9125e939a38668c0935dc.tar.gz |
* gcse.c (alloc_avail_expr_mem): Kill unused 'u_bitmap'.
(free_avail_expr_mem, alloc_pre_mem, free_pre_mem): Corresponding
changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35225 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c index 618a4345c3d..f879ea7385e 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -494,13 +494,6 @@ static int copy_prop_count; Normally they'd be defined a bit later, but `rd_gen' needs to be declared sooner. */ -/* A bitmap of all ones for implementing the algorithm for available - expressions and reaching definitions. */ -/* ??? Available expression bitmaps have a different size than reaching - definition bitmaps. This should be the larger of the two, however, it - is not currently used for reaching definitions. */ -static sbitmap u_bitmap; - /* Each block has a bitmap of each type. The length of each blocks bitmap is: @@ -2663,9 +2656,6 @@ alloc_avail_expr_mem (n_blocks, n_exprs) ae_out = (sbitmap *) sbitmap_vector_alloc (n_blocks, n_exprs); sbitmap_vector_zero (ae_out, n_basic_blocks); - - u_bitmap = (sbitmap) sbitmap_alloc (n_exprs); - sbitmap_ones (u_bitmap); } static void @@ -2675,7 +2665,6 @@ free_avail_expr_mem () free (ae_gen); free (ae_in); free (ae_out); - free (u_bitmap); } /* Compute the set of available expressions generated in each basic block. */ @@ -4057,7 +4046,6 @@ alloc_pre_mem (n_blocks, n_exprs) pre_delete_map = NULL; ae_in = NULL; ae_out = NULL; - u_bitmap = NULL; transpout = sbitmap_vector_alloc (n_blocks, n_exprs); ae_kill = sbitmap_vector_alloc (n_blocks, n_exprs); @@ -4089,14 +4077,10 @@ free_pre_mem () free (ae_in); if (ae_out) free (ae_out); - if (u_bitmap) - free (u_bitmap); transp = comp = NULL; pre_optimal = pre_redundant = pre_insert_map = pre_delete_map = NULL; transpout = ae_in = ae_out = NULL; - u_bitmap = NULL; - } /* Top level routine to do the dataflow analysis needed by PRE. */ |