This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gcc-in-cxx] Remove hook_int_void_no_regs


The last patch on the gcc-in-cxx branch introduced
default_branch_target_register_class.  With that patch, the hook
hook_int_void_no_regs is no longer used (it should never have been in
hooks.c anyhow--it should have been in targhooks.c all along).
Committed to gcc-in-cxx branch.

Ian


2009-01-31  Ian Lance Taylor  <iant@google.com>

	* hooks.h (hook_int_void_no_regs): Don't declare.
	* hooks.c (hook_int_void_no_regs): Don't define.


Index: hooks.h
===================================================================
--- hooks.h	(revision 143841)
+++ hooks.h	(working copy)
@@ -61,7 +61,6 @@ extern int hook_int_const_tree_const_tre
 extern int hook_int_rtx_0 (rtx);
 extern int hook_int_rtx_bool_0 (rtx, bool);
 extern int hook_int_size_t_constcharptr_int_0 (size_t, const char *, int);
-extern int hook_int_void_no_regs (void);
 
 extern tree hook_tree_tree_tree_null (tree, tree);
 extern tree hook_tree_tree_tree_tree_null (tree, tree, tree);
Index: hooks.c
===================================================================
--- hooks.c	(revision 143841)
+++ hooks.c	(working copy)
@@ -48,13 +48,6 @@ hook_bool_void_true (void)
   return true;
 }
 
-/* Generic hook that takes no arguments and returns NO_REGS.  */
-int
-hook_int_void_no_regs (void)
-{
-  return NO_REGS;
-}
-
 /* Generic hook that takes (bool) and returns false.  */
 bool
 hook_bool_bool_false (bool a ATTRIBUTE_UNUSED)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]