diff options
author | Richard Henderson <rth@redhat.com> | 2003-06-20 10:30:05 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2003-06-20 10:30:05 -0700 |
commit | a3424f5c1e409cf8d7e9c0d7372a0a223a33eade (patch) | |
tree | 73514e4f64d84936d90b75c8a73e6fd5958b4ab8 /gcc/hooks.h | |
parent | 3a9476696caa7ef0cea761530df25647b8dbbe0b (diff) | |
download | gcc-a3424f5c1e409cf8d7e9c0d7372a0a223a33eade.zip gcc-a3424f5c1e409cf8d7e9c0d7372a0a223a33eade.tar.gz gcc-a3424f5c1e409cf8d7e9c0d7372a0a223a33eade.tar.bz2 |
hooks.c (hook_int_void_no_regs): Rename from hook_reg_class_void_no_regs; change return type.
* 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.
From-SVN: r68275
Diffstat (limited to 'gcc/hooks.h')
-rw-r--r-- | gcc/hooks.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/gcc/hooks.h b/gcc/hooks.h index e5dbcc6..044654a 100644 --- a/gcc/hooks.h +++ b/gcc/hooks.h @@ -23,15 +23,6 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define GCC_HOOKS_H bool hook_bool_void_false PARAMS ((void)); - -/* Check if tm.h has been included, since ISO C does not allow forward - definitions for enums, and making hooks.h dependent on tm.h would create - unnecessary dependencies where no hook declaration involving - enum_reg_class is needed. */ -#ifdef REG_CLASS_CONTENTS -enum reg_class hook_reg_class_void_no_regs (void); -#endif - bool hook_bool_bool_false (bool); bool hook_bool_tree_false PARAMS ((tree)); bool hook_bool_tree_hwi_hwi_tree_false @@ -51,6 +42,7 @@ int hook_int_tree_tree_1 PARAMS ((tree, tree)); int hook_int_rtx_0 PARAMS ((rtx)); int hook_int_void_0 (void); int hook_int_size_t_constcharptr_int_0 (size_t, const char *, int); +int hook_int_void_no_regs (void); bool default_can_output_mi_thunk_no_vcall PARAMS ((tree, HOST_WIDE_INT, HOST_WIDE_INT, tree)); |