* hooks.c (hook_void_tree_int): Remove.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Feb 2004 11:06:26 +0000 (11:06 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Feb 2004 11:06:26 +0000 (11:06 +0000)
(hook_void_constcharptr): Likewise.
(hook_int_void_0): Likewise.
* hooks.h: Remove the prototypes for the above three
functions.
* targhooks.c (hook_bool_machine_mode_true): Remove.
* targhooks.h: Remove the prototype for
hook_bool_machine_mode_true.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78093 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/hooks.c
gcc/hooks.h
gcc/targhooks.c
gcc/targhooks.h

index 2c3c558..3baa40e 100644 (file)
@@ -1,5 +1,16 @@
 2004-02-19  Kazu Hirata  <kazu@cs.umass.edu>
 
+       * hooks.c (hook_void_tree_int): Remove.
+       (hook_void_constcharptr): Likewise.
+       (hook_int_void_0): Likewise.
+       * hooks.h: Remove the prototypes for the above three
+       functions.
+       * targhooks.c (hook_bool_machine_mode_true): Remove.
+       * targhooks.h: Remove the prototype for
+       hook_bool_machine_mode_true.
+
+2004-02-19  Kazu Hirata  <kazu@cs.umass.edu>
+
        * emit-rtl.c (subreg_realpart_p): Remove.
        (reorder_insns_with_line_notes): Likewise.
        (end_full_sequence): Likewise.
index a8cd665..090a45a 100644 (file)
@@ -55,24 +55,12 @@ hook_bool_bool_false (bool a ATTRIBUTE_UNUSED)
   return false;
 }
 
-
-/* Generic hook that takes (tree, int) and does nothing.  */
-void
-hook_void_tree_int (tree a ATTRIBUTE_UNUSED, int b ATTRIBUTE_UNUSED)
-{
-}
-
 /* Generic hook that takes (FILE *, const char *) and does nothing.  */
 void
 hook_void_FILEptr_constcharptr (FILE *a ATTRIBUTE_UNUSED, const char *b ATTRIBUTE_UNUSED)
 {
 }
 
-void
-hook_void_constcharptr (const char *a ATTRIBUTE_UNUSED)
-{
-}
-
 /* Used for the TARGET_ASM_CAN_OUTPUT_MI_THUNK hook.  */
 bool
 hook_bool_tree_hwi_hwi_tree_false (tree a ATTRIBUTE_UNUSED,
@@ -122,12 +110,6 @@ hook_int_rtx_0 (rtx a ATTRIBUTE_UNUSED)
 }
 
 int
-hook_int_void_0 (void)
-{
-  return 0;
-}
-
-int
 hook_int_size_t_constcharptr_int_0 (size_t a ATTRIBUTE_UNUSED,
                                    const char *b ATTRIBUTE_UNUSED,
                                    int c ATTRIBUTE_UNUSED)
index 583b504..60355f5 100644 (file)
@@ -35,16 +35,13 @@ extern bool hook_bool_uintp_uintp_false (unsigned int *, unsigned int *);
 extern bool hook_bool_rtx_int_int_intp_false (rtx, int, int, int *);
 extern bool hook_bool_constcharptr_size_t_false (const char *, size_t);
 
-extern void hook_void_tree_int (tree, int);
 extern void hook_void_void (void);
 extern void hook_void_FILEptr_constcharptr (FILE *, const char *);
 extern void hook_void_tree (tree);
 extern void hook_void_tree_treeptr (tree, tree *);
-extern void hook_void_constcharptr (const char *);
 
 extern int hook_int_tree_tree_1 (tree, tree);
 extern int hook_int_rtx_0 (rtx);
-extern int hook_int_void_0 (void);
 extern int hook_int_size_t_constcharptr_int_0 (size_t, const char *, int);
 extern int hook_int_void_no_regs (void);
 
index a2c8273..03735a6 100644 (file)
@@ -126,11 +126,3 @@ hook_bool_CUMULATIVE_ARGS_true (CUMULATIVE_ARGS * a ATTRIBUTE_UNUSED)
 {
   return true;
 }
-
-/* Generic hook that takes a machine mode and returns true.  */
-
-bool
-hook_bool_machine_mode_true (enum machine_mode a ATTRIBUTE_UNUSED)
-{
-  return true;
-}
index cbe0f6a..f755b0f 100644 (file)
@@ -31,4 +31,3 @@ extern bool hook_bool_CUMULATIVE_ARGS_false (CUMULATIVE_ARGS *);
 extern bool default_pretend_outgoing_varargs_named (CUMULATIVE_ARGS *);
 
 extern bool hook_bool_CUMULATIVE_ARGS_true (CUMULATIVE_ARGS *);
-extern bool hook_bool_machine_mode_true (enum machine_mode);