summaryrefslogtreecommitdiff
path: root/gcc/cfghooks.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-04 22:02:55 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-04 22:02:55 +0000
commit797c289c9e698cc9bd43cb279eeb87d6a33e2ff2 (patch)
tree9fed29e2c18171f7b1d13c5bde03171ec0c7660e /gcc/cfghooks.c
parentdb20bd625728bac2d5543bb5abb6e5e6d96af13f (diff)
downloadgcc-797c289c9e698cc9bd43cb279eeb87d6a33e2ff2.tar.gz
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
Diffstat (limited to 'gcc/cfghooks.c')
-rw-r--r--gcc/cfghooks.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/cfghooks.c b/gcc/cfghooks.c
index 46e0f8c67ea..00f4562d81e 100644
--- a/gcc/cfghooks.c
+++ b/gcc/cfghooks.c
@@ -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])