gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.

* gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
	* lcm.c (compute_earliest, compute_farthest): Likewise.

From-SVN: r48789
This commit is contained in:
Michael Hayes 2002-01-12 01:18:42 +00:00 committed by Michael Hayes
parent 066930bbe1
commit 76ac938bdc
3 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
* lcm.c (compute_earliest, compute_farthest): Likewise.
2002-01-11 Janis Johnson <janis187@us.ibm.com>
* expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.

View File

@ -4450,7 +4450,7 @@ compute_pre_data ()
antloc = NULL;
sbitmap_vector_free (ae_kill);
ae_kill = NULL;
free (trapping_expr);
sbitmap_free (trapping_expr);
}
/* PRE utilities */
@ -5003,7 +5003,7 @@ pre_gcse ()
}
free (index_map);
free (pre_redundant_insns);
sbitmap_free (pre_redundant_insns);
return changed;
}

View File

@ -224,8 +224,8 @@ compute_earliest (edge_list, n_exprs, antin, antout, avout, kill, earliest)
}
}
free (temp_bitmap);
free (difference);
sbitmap_free (temp_bitmap);
sbitmap_free (difference);
}
/* later(p,s) is dependent on the calculation of laterin(p).
@ -612,8 +612,8 @@ compute_farthest (edge_list, n_exprs, st_avout, st_avin, st_antin,
}
}
free (temp_bitmap);
free (difference);
sbitmap_free (temp_bitmap);
sbitmap_free (difference);
}
/* Compute nearer and nearerout vectors for edge based lcm.