diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-30 19:25:49 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-30 19:25:49 +0000 |
commit | c7b4d9b2f01b8cf46a73a12fe5b67a9c947f71f8 (patch) | |
tree | 7bba91477b083c590808e6d2b1df353f8eabf850 /gcc/hooks.c | |
parent | 7d3126c95f9915410f1ea929356482696cec6b80 (diff) | |
download | gcc-c7b4d9b2f01b8cf46a73a12fe5b67a9c947f71f8.tar.gz |
PR rtl-optimization/38449:
* hooks.c (hook_bool_const_rtx_const_rtx_true): New function.
* hooks.h (hook_bool_const_rtx_const_rtx_true): Declare.
* target.def: Merge in definitions and documentation for
TARGET_CAN_FOLLOW_JUMP.
* doc/tm.texi.in: Add documentation locations for the above.
* doc/tm.texi: Regenerate.
* reorg.c (follow_jumps): New parameters jump and crossing.
Changed all callers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191878 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/hooks.c')
-rw-r--r-- | gcc/hooks.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/hooks.c b/gcc/hooks.c index 775da3c3d2f..b26252203f7 100644 --- a/gcc/hooks.c +++ b/gcc/hooks.c @@ -117,6 +117,14 @@ hook_bool_mode_rtx_true (enum machine_mode mode ATTRIBUTE_UNUSED, return true; } +/* Generic hook that takes (rtx, rtx) and returns true. */ +bool +hook_bool_const_rtx_const_rtx_true (const_rtx follower ATTRIBUTE_UNUSED, + const_rtx followee ATTRIBUTE_UNUSED) +{ + return true; +} + /* Generic hook that takes (enum machine_mode, unsigned HOST_WIDE_INT) and returns false. */ bool |