summaryrefslogtreecommitdiff
path: root/gcc/hooks.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-20 17:30:05 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-20 17:30:05 +0000
commite26dbf6d528736a8db78916c975a5068eae282dc (patch)
tree73514e4f64d84936d90b75c8a73e6fd5958b4ab8 /gcc/hooks.c
parentd19a6ea01fb5f35c0e3d9fb5b6b7fa3d9d119e5b (diff)
downloadgcc-e26dbf6d528736a8db78916c975a5068eae282dc.tar.gz
* hooks.c (hook_int_void_no_regs): Rename from
hook_reg_class_void_no_regs; change return type. * hooks.h: Update. * target-def.h (TARGET_BRANCH_TARGET_REGISTER_CLASS): Update. * target.h (branch_target_register_class): Change return type to int. Add documentation. * config/sh/sh.c (sh_target_reg_class): Change return type. * doc/tm.texi (TARGET_BRANCH_TARGET_REGISTER_CLASS): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68275 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/hooks.c')
-rw-r--r--gcc/hooks.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/hooks.c b/gcc/hooks.c
index 97dd2c9b828..e183a11766e 100644
--- a/gcc/hooks.c
+++ b/gcc/hooks.c
@@ -41,9 +41,9 @@ hook_bool_void_false ()
return false;
}
-/* The same, but formally returning an enum reg_class. */
-enum reg_class
-hook_reg_class_void_no_regs (void)
+/* The same, but formally returning NO_REGS. */
+int
+hook_int_void_no_regs (void)
{
return NO_REGS;
}