aboutsummaryrefslogtreecommitdiff
path: root/gcc/basic-block.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2004-01-18 22:51:30 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2004-01-18 21:51:30 +0000
commit3348b696a815eb5ddbde242b582ad43aeef6caad (patch)
treedb89690196904c8e80b96367e5391e21d394dfd5 /gcc/basic-block.h
parent72d89d359c5ead605318589e7ee6c30be782adce (diff)
downloadgcc-3348b696a815eb5ddbde242b582ad43aeef6caad.zip
gcc-3348b696a815eb5ddbde242b582ad43aeef6caad.tar.gz
gcc-3348b696a815eb5ddbde242b582ad43aeef6caad.tar.bz2
basic-block.h (try_redirect_by_replacing_jump): Declare.
* basic-block.h (try_redirect_by_replacing_jump): Declare. * cfgcleanup.c (try_optimize_cfg): Use it. * cfgrtl.c (try_redirect_by_replacing_jump): Export. (rtl_redirect_edge_and_branch, cfg_layout_redirect_edge_and_branch): Kill hack. (cfg_layout_merge_blocks): Use try_redirect_by_replacing_jump. Revert: 2004-01-16 Geoffrey Keating <geoffk@apple.com> * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps even after reload, just don't remove the actual jump tables. From-SVN: r76115
Diffstat (limited to 'gcc/basic-block.h')
-rw-r--r--gcc/basic-block.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/basic-block.h b/gcc/basic-block.h
index 2e8f578..1902818 100644
--- a/gcc/basic-block.h
+++ b/gcc/basic-block.h
@@ -640,6 +640,7 @@ extern void iterate_fix_dominators (enum cdi_direction, basic_block *, int);
extern void verify_dominators (enum cdi_direction);
extern basic_block first_dom_son (enum cdi_direction, basic_block);
extern basic_block next_dom_son (enum cdi_direction, basic_block);
+extern bool try_redirect_by_replacing_jump (edge, basic_block, bool);
#include "cfghooks.h"