cfghooks.c (delete_basic_block): Remove code to truncate edge vectors.

* cfghooks.c (delete_basic_block): Remove code to truncate
	edge vectors.

From-SVN: r90081
This commit is contained in:
Kazu Hirata 2004-11-04 22:02:55 +00:00 committed by Kazu Hirata
parent db20bd6257
commit 797c289c9e
2 changed files with 5 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2004-11-04 Kazu Hirata <kazu@cs.umass.edu>
* cfghooks.c (delete_basic_block): Remove code to truncate
edge vectors.
2004-11-04 Andrew Pinski <pinskia@physics.uc.edu>
* flow.c (init_propagate_block_info): Change the type of i to

View file

@ -368,9 +368,6 @@ delete_basic_block (basic_block bb)
while (EDGE_COUNT (bb->succs) != 0)
remove_edge (EDGE_SUCC (bb, 0));
VEC_truncate (edge, bb->preds, 0);
VEC_truncate (edge, bb->succs, 0);
if (dom_computed[CDI_DOMINATORS])
delete_from_dominance_info (CDI_DOMINATORS, bb);
if (dom_computed[CDI_POST_DOMINATORS])