summaryrefslogtreecommitdiff
path: root/gcc/hooks.c
diff options
context:
space:
mode:
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-07 06:04:14 +0000
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-07 06:04:14 +0000
commitd930bc7c29ee599d4b7d30d630242a077a928b26 (patch)
treedc10c85695f54132e27c5f4be113543c15ac56d8 /gcc/hooks.c
parent8af0c78dbc14d98dd78975362585f10c202296a6 (diff)
downloadgcc-d930bc7c29ee599d4b7d30d630242a077a928b26.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82682 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/hooks.c')
-rw-r--r--gcc/hooks.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/hooks.c b/gcc/hooks.c
index e37d58e9723..1fafe1f12f8 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)