summaryrefslogtreecommitdiff
path: root/gcc/cfghooks.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-04 22:02:55 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-04 22:02:55 +0000
commitcfb0b37f8e71ea96da4ded5879499e6b8b064a0c (patch)
tree9fed29e2c18171f7b1d13c5bde03171ec0c7660e /gcc/cfghooks.c
parent1043ee6bea78082ab8af7861cd53935187ba27e8 (diff)
downloadgcc-cfb0b37f8e71ea96da4ded5879499e6b8b064a0c.tar.gz
* cfghooks.c (delete_basic_block): Remove code to truncate
edge vectors. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90081 138bc75d-0d04-0410-961f-82ee72b054a4
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])