OSDN Git Service

* cfgloopmanip.c (split_loop_bb): Remove.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Jan 2006 14:57:19 +0000 (14:57 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Jan 2006 14:57:19 +0000 (14:57 +0000)
* 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

gcc/ChangeLog
gcc/cfgloop.h
gcc/cfgloopmanip.c

index 7c1baa3..240b380 100644 (file)
@@ -4,6 +4,9 @@
        * c-typeck.c (build_binary_op): Perform implicit casts of
        operands before shortening them.
 
+       * cfgloopmanip.c (split_loop_bb): Remove.
+       * cfgloop.h: Remove the prototype for split_loop_bb.
+
 2006-01-27  H.J. Lu  <hongjiu.lu@intel.com>
 
        * df-scan.c (df_record_entry_block_defs): Check if
index 3139ef7..785fef1 100644 (file)
@@ -311,7 +311,6 @@ extern struct loop *loopify (struct loops *, edge, edge,
 struct loop * loop_version (struct loops *, struct loop *, void *,
                            basic_block *, bool);
 extern bool remove_path (struct loops *, edge);
-extern edge split_loop_bb (basic_block, void *);
 
 /* Induction variable analysis.  */
 
index 6a27d34..5aa2bf8 100644 (file)
@@ -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)