diff options
author | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-15 15:49:09 +0000 |
---|---|---|
committer | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-15 15:49:09 +0000 |
commit | 484e07461e3b1fb1a60c6859a4ce177a4ef16a66 (patch) | |
tree | 18931aeb197af67443844e6615b2384621d5c201 /gcc/hooks.c | |
parent | e55e25f6597506def84e1fd29bc9c425668e7134 (diff) | |
download | gcc-484e07461e3b1fb1a60c6859a4ce177a4ef16a66.tar.gz |
The TARGET_CAN_FOLLOW_JUMP hook takes insns
gcc/ChangeLog:
* config/arc/arc.c (arc_can_follow_jump): Strengthen both params
from const_rtx to const rtx_insn *. Update union members from rtx
to rtx_insn *.
* doc/tm.texi (TARGET_CAN_FOLLOW_JUMP): Autogenerated change.
* hooks.c (hook_bool_const_rtx_const_rtx_true): Rename to...
(hook_bool_const_rtx_insn_const_rtx_insn_true): ...this, and
strengthen both params from const_rtx to const rtx_insn *.
* hooks.h (hook_bool_const_rtx_const_rtx_true): Likewise.
(hook_bool_const_rtx_insn_const_rtx_insn_true): Likewise.
* reorg.c (follow_jumps): Strengthen param "jump" from rtx to
rtx_insn *.
* target.def (can_follow_jump): Strengthen both params from
const_rtx to const rtx_insn *, and update default implementation
from hook_bool_const_rtx_const_rtx_true to
hook_bool_const_rtx_insn_const_rtx_insn_true.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215269 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/hooks.c')
-rw-r--r-- | gcc/hooks.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/hooks.c b/gcc/hooks.c index 3f1135472e3..6000b985133 100644 --- a/gcc/hooks.c +++ b/gcc/hooks.c @@ -116,10 +116,10 @@ hook_bool_mode_rtx_true (enum machine_mode mode ATTRIBUTE_UNUSED, return true; } -/* Generic hook that takes (rtx, rtx) and returns true. */ +/* Generic hook that takes (const rtx_insn *, const rtx_insn *) and returns true. */ bool -hook_bool_const_rtx_const_rtx_true (const_rtx follower ATTRIBUTE_UNUSED, - const_rtx followee ATTRIBUTE_UNUSED) +hook_bool_const_rtx_insn_const_rtx_insn_true (const rtx_insn *follower ATTRIBUTE_UNUSED, + const rtx_insn *followee ATTRIBUTE_UNUSED) { return true; } |