diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-11-09 01:04:56 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-11-09 01:04:56 +0000 |
commit | 68e4debe62c4404b0b5fdebf592c2b36bf52949d (patch) | |
tree | deb25791db14bcffdb27313247b9f8f542e30ef6 | |
parent | 66e52c3536c00357c90082358c8377d41feb7d01 (diff) | |
download | gcc-68e4debe62c4404b0b5fdebf592c2b36bf52949d.zip gcc-68e4debe62c4404b0b5fdebf592c2b36bf52949d.tar.gz gcc-68e4debe62c4404b0b5fdebf592c2b36bf52949d.tar.bz2 |
* passes.c (rest_of_handle_jump): Remove dead code.
From-SVN: r90325
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/passes.c | 21 |
2 files changed, 4 insertions, 21 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c373c83..20f50a6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 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 the last used element in the worklist. diff --git a/gcc/passes.c b/gcc/passes.c index 1b656f3..9a486b7b 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -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 (); |