basic-block.h (force_nonfallthru): Move to...
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 7 Apr 2011 21:11:51 +0000 (21:11 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 7 Apr 2011 21:11:51 +0000 (21:11 +0000)
commitcf103ca449e8f5e38f42b107b3271b18c73c59a5
tree145e2606d4e9bb3d9ec4665487247f62c68485dd
parentdf9292840d1a59a7eee79d70fb38bafabd6049fa
basic-block.h (force_nonfallthru): Move to...

* basic-block.h (force_nonfallthru): Move to...
* cfghooks.h (struct cfg_hooks): Add force_nonfallthru hook.
(force_nonfallthru): ...here.
* cfghooks.c (force_nonfallthru): New function.
* cfgrtl.c (force_nonfallthru): Rename into...
(rtl_force_nonfallthru): ...this.
(commit_one_edge_insertion): Do not set AUX field.
(commit_edge_insertions): Do not discover new basic blocks.
(rtl_cfg_hooks): Add rtl_force_nonfallthru.
(cfg_layout_rtl_cfg_hooks): Likewise.
* function.c (thread_prologue_and_epilogue_insns): Remove bogus
ATTRIBUTE_UNUSED.  Discover new basic blocks in the prologue insns.
* tree-cfg.c (gimple_cfg_hooks): Add NULL for force_nonfallthru.

From-SVN: r172128
gcc/ChangeLog
gcc/basic-block.h
gcc/cfghooks.c
gcc/cfghooks.h
gcc/cfgrtl.c
gcc/function.c
gcc/tree-cfg.c