]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* passes.c (rest_of_handle_jump): Remove dead code.
authorKazu Hirata <kazu@cs.umass.edu>
Tue, 9 Nov 2004 01:04:56 +0000 (01:04 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Tue, 9 Nov 2004 01:04:56 +0000 (01:04 +0000)
From-SVN: r90325

gcc/ChangeLog
gcc/passes.c

index c373c836ed7cc8278349241d8dfff2bfb5bb131d..20f50a6c80edac652eac482fcef2f063990900d3 100644 (file)
@@ -1,3 +1,7 @@
+2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * passes.c (rest_of_handle_jump): Remove dead code.
+
 2004-11-08  Kazu Hirata  <kazu@cs.umass.edu>
 
        * tree-cfg.c (thread_jumps): Speed up by keeping a pointer to
index 1b656f312ac6bb3a003b90b8026220550f0620fd..9a486b7b42f6191074b5507430bcc022e81dfef1 100644 (file)
@@ -1291,27 +1291,6 @@ rest_of_handle_jump (void)
   timevar_push (TV_JUMP);
   open_dump_file (DFI_sibling, current_function_decl);
 
-  /* ??? We may get called either via tree_rest_of_compilation when the CFG
-     is already built or directly (for instance from coverage code).
-     The direct callers shall be updated.  */
-  if (!basic_block_info)
-    {
-      init_flow ();
-      rebuild_jump_labels (get_insns ());
-      find_exception_handler_labels ();
-      find_basic_blocks (get_insns (), max_reg_num (), dump_file);
-    }
-
-  /* ??? We may get called either via tree_rest_of_compilation when the CFG
-     is already built or directly (for instance from coverage code).
-     The direct callers shall be updated.  */
-  if (!basic_block_info)
-    {
-      init_flow ();
-      rebuild_jump_labels (get_insns ());
-      find_exception_handler_labels ();
-      find_basic_blocks (get_insns (), max_reg_num (), dump_file);
-    }
   delete_unreachable_blocks ();
 #ifdef ENABLE_CHECKING
   verify_flow_info ();