summaryrefslogtreecommitdiff
path: root/gcc/cfgloopmanip.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-28 14:57:19 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-28 14:57:19 +0000
commit6c7676b2c3d044bd7d50f47006dd9a429b66b6c9 (patch)
treeebd1cf9414aaa6d4e12bb9caf0684c43022658ff /gcc/cfgloopmanip.c
parent924a018c3737e202e6b0617502c4c812ecbca88c (diff)
downloadgcc-6c7676b2c3d044bd7d50f47006dd9a429b66b6c9.tar.gz
* cfgloopmanip.c (split_loop_bb): Remove.
* cfgloop.h: Remove the prototype for split_loop_bb. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110324 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgloopmanip.c')
-rw-r--r--gcc/cfgloopmanip.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/cfgloopmanip.c b/gcc/cfgloopmanip.c
index 6a27d34a04e..5aa2bf8940a 100644
--- a/gcc/cfgloopmanip.c
+++ b/gcc/cfgloopmanip.c
@@ -52,22 +52,6 @@ static void unloop (struct loops *, struct loop *);
#define RDIV(X,Y) (((X) + (Y) / 2) / (Y))
-/* Splits basic block BB after INSN, returns created edge. Updates loops
- and dominators. */
-edge
-split_loop_bb (basic_block bb, void *insn)
-{
- edge e;
-
- /* Split the block. */
- e = split_block (bb, insn);
-
- /* Add dest to loop. */
- add_bb_to_loop (e->dest, e->src->loop_father);
-
- return e;
-}
-
/* Checks whether basic block BB is dominated by DATA. */
static bool
rpe_enum_p (basic_block bb, void *data)