diff options
author | Steven Bosscher <stevenb@suse.de> | 2004-06-07 06:04:14 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2004-06-07 06:04:14 +0000 |
commit | e4638a72d8b900cc9557bdeaf719a3e3987cd4c6 (patch) | |
tree | dc10c85695f54132e27c5f4be113543c15ac56d8 /gcc/hooks.c | |
parent | b51fa00f4ec185801655336e8d76b584063e69c1 (diff) | |
download | gcc-e4638a72d8b900cc9557bdeaf719a3e3987cd4c6.zip gcc-e4638a72d8b900cc9557bdeaf719a3e3987cd4c6.tar.gz gcc-e4638a72d8b900cc9557bdeaf719a3e3987cd4c6.tar.bz2 |
hooks.c (hook_int_void_1): New generic hook.
* hooks.c (hook_int_void_1): New generic hook.
* hooks.h (hook_int_void_1): Add prototype.
* config/c4x/c4x.c (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE):
Define to hook_int_void_1.
* config/c4x/c4x.md: Replace dummies for the old pipeline model
with dummies for the new one.
From-SVN: r82682
Diffstat (limited to 'gcc/hooks.c')
-rw-r--r-- | gcc/hooks.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/hooks.c b/gcc/hooks.c index e37d58e..1fafe1f 100644 --- a/gcc/hooks.c +++ b/gcc/hooks.c @@ -48,6 +48,13 @@ hook_int_void_no_regs (void) return NO_REGS; } +/* Generic hook that returns 1. */ +int +hook_int_void_1 (void) +{ + return 1; +} + /* Generic hook that takes (bool) and returns false. */ bool hook_bool_bool_false (bool a ATTRIBUTE_UNUSED) |