]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
basic-block.h (flow_delete_block_noexpunge): Kill.
authorJan Hubicka <jh@suse.cz>
Thu, 12 Jun 2003 18:09:56 +0000 (20:09 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 12 Jun 2003 18:09:56 +0000 (18:09 +0000)
* basic-block.h (flow_delete_block_noexpunge): Kill.
* cfgrtl.c (flow_delete_block_noexpunge): Merge to
rtl_delete_block.

From-SVN: r67846

gcc/ChangeLog
gcc/basic-block.h
gcc/cfgrtl.c

index d5f538614ef78099e846149410481762d16f389a..1cd38a5c47eafdc553b8b665a1a80e02b9d172b5 100644 (file)
@@ -1,3 +1,9 @@
+Thu Jun 12 20:00:55 CEST 2003  Jan Hubicka  <jh@suse.cz>
+
+       * basic-block.h (flow_delete_block_noexpunge): Kill.
+       * cfgrtl.c (flow_delete_block_noexpunge): Merge to
+       rtl_delete_block.
+
 2003-06-10  Richard Henderson  <rth@redhat.com>
 
         PR inline-asm/4823
index 4aa47dd50ba8fc415470d57fdb4b7c1e65905e64..252774eb92076eaf9dcb08c3d6383bbaef28668f 100644 (file)
@@ -362,7 +362,6 @@ extern edge redirect_edge_succ_nodup        PARAMS ((edge, basic_block));
 extern void redirect_edge_pred         PARAMS ((edge, basic_block));
 extern basic_block create_basic_block_structure PARAMS ((rtx, rtx, rtx, basic_block));
 extern basic_block create_basic_block  PARAMS ((rtx, rtx, basic_block));
-extern void flow_delete_block_noexpunge        PARAMS ((basic_block));
 extern void clear_bb_flags             PARAMS ((void));
 extern void merge_blocks_nomove                PARAMS ((basic_block, basic_block));
 extern void tidy_fallthru_edge         PARAMS ((edge, basic_block,
index e597cf837f615ee08d7ceaa7c53adc08875f0b92..7c36c54d0ea058682d3e753c0d93194964b44f15 100644 (file)
@@ -357,8 +357,8 @@ create_basic_block (head, end, after)
 /* ??? Preserving all such notes strikes me as wrong.  It would be nice
    to post-process the stream to remove empty blocks, loops, ranges, etc.  */
 
-void
-flow_delete_block_noexpunge (b)
+static void
+rtl_delete_block (b)
      basic_block b;
 {
   rtx insn, end, tmp;
@@ -412,13 +412,6 @@ flow_delete_block_noexpunge (b)
 
   b->pred = NULL;
   b->succ = NULL;
-}
-
-static void
-rtl_delete_block (b)
-     basic_block b;
-{
-  flow_delete_block_noexpunge (b);
 
   /* Remove the basic block from the array.  */
   expunge_block (b);