mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-31 08:19:48 +08:00
* passes.c (rest_of_handle_jump): Remove dead code.
From-SVN: r90325
This commit is contained in:
parent
66e52c3536
commit
68e4debe62
@ -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>
|
2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
|
||||||
|
|
||||||
* tree-cfg.c (thread_jumps): Speed up by keeping a pointer to
|
* tree-cfg.c (thread_jumps): Speed up by keeping a pointer to
|
||||||
|
21
gcc/passes.c
21
gcc/passes.c
@ -1291,27 +1291,6 @@ rest_of_handle_jump (void)
|
|||||||
timevar_push (TV_JUMP);
|
timevar_push (TV_JUMP);
|
||||||
open_dump_file (DFI_sibling, current_function_decl);
|
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 ();
|
delete_unreachable_blocks ();
|
||||||
#ifdef ENABLE_CHECKING
|
#ifdef ENABLE_CHECKING
|
||||||
verify_flow_info ();
|
verify_flow_info ();
|
||||||
|
Loading…
Reference in New Issue
Block a user