mmix.c (mmix_function_block_profiler, [...]): Delete unused functions.
authorHans-Peter Nilsson <hp@bitrange.com>
Sun, 9 Dec 2001 21:25:03 +0000 (21:25 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Sun, 9 Dec 2001 21:25:03 +0000 (21:25 +0000)
* config/mmix/mmix.c (mmix_function_block_profiler,
mmix_block_profiler, mmix_function_block_profiler_exit): Delete
unused functions.
* config/mmix/mmix-protos.h (mmix_function_block_profiler,
mmix_block_profiler, mmix_function_block_profiler_exit): Delete
prototypes.

* config/cris/cris.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER):
Delete obsoleted macros.

From-SVN: r47818

gcc/ChangeLog
gcc/config/cris/cris.h
gcc/config/mmix/mmix-protos.h
gcc/config/mmix/mmix.c

index ff0be645ddc0fac46aef0675f314e28963f59c0c..3f8f871185651c6f069cacb8b74fa53ad7a1ca62 100644 (file)
@@ -1,3 +1,15 @@
+2001-12-09  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * config/mmix/mmix.c (mmix_function_block_profiler,
+       mmix_block_profiler, mmix_function_block_profiler_exit): Delete
+       unused functions.
+       * config/mmix/mmix-protos.h (mmix_function_block_profiler,
+       mmix_block_profiler, mmix_function_block_profiler_exit): Delete
+       prototypes.
+
+       * config/cris/cris.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER):
+       Delete obsoleted macros.
+
 2001-12-09  Joseph S. Myers  <jsm28@cam.ac.uk>
 
        * doc/cpp.texi, doc/cppinternals.texi, doc/invoke.texi,
index d4ed6bc105316137071f09447318f79a39c42172..f97ff0b3ddf2606d87bf3ca1bdc1ae5cfd902bb8 100644 (file)
@@ -1023,14 +1023,6 @@ struct cum_args {int regs;};
 #define FUNCTION_PROFILER(FILE, LABELNO)  \
  error ("no FUNCTION_PROFILER for CRIS")
 
-/* No profiling for the time being.  */
-#define FUNCTION_BLOCK_PROFILER(FILE, LABELNO) \
- error ("no FUNCTION_BLOCK_PROFILER for CRIS")
-
-/* No profiling for the time being.  */
-#define BLOCK_PROFILER(FILE, BLOCKNO)  \
- error ("no BLOCK_PROFILER for CRIS")
-
 /* FIXME: Some of the undefined macros might be mandatory.  If so, fix
    documentation.  */
 
index f746c7b0fca956ea240295bb6659eb1b9f72c251..e1b11a3aaf2554a66a648d4c5622cb1d6c245598 100644 (file)
@@ -26,9 +26,6 @@ extern int mmix_initial_elimination_offset PARAMS ((int, int));
 extern int mmix_starting_frame_offset PARAMS ((void));
 extern int mmix_function_arg_regno_p PARAMS ((int, int));
 extern void mmix_function_profiler PARAMS ((FILE *, int));
-extern void mmix_function_block_profiler PARAMS ((FILE *, int));
-extern void mmix_block_profiler PARAMS ((FILE *, int));
-extern void mmix_function_block_profiler_exit PARAMS ((FILE *));
 extern void mmix_trampoline_template PARAMS ((FILE *));
 extern int mmix_trampoline_size;
 extern int mmix_reversible_cc_mode PARAMS ((enum machine_mode));
index 73abc7998d59f7caf75db66427eb408c34f340e3..6d1c72d2e9044bd404edaaa7c7fd369e1e74956e 100644 (file)
@@ -1197,35 +1197,6 @@ mmix_function_profiler (stream, labelno)
   sorry ("function_profiler support for MMIX");
 }
 
-/* FUNCTION_BLOCK_PROFILER.  */
-
-void
-mmix_function_block_profiler (stream, labelno)
-     FILE *stream ATTRIBUTE_UNUSED;
-     int labelno ATTRIBUTE_UNUSED;
-{
-  sorry ("function_block_profiler support for MMIX");
-}
-
-/* BLOCK_PROFILER.  */
-
-void
-mmix_block_profiler (stream, labelno)
-     FILE *stream ATTRIBUTE_UNUSED;
-     int labelno ATTRIBUTE_UNUSED;
-{
-  sorry ("block_profiler support for MMIX");
-}
-
-/* FUNCTION_BLOCK_PROFILER_EXIT.  */
-
-void
-mmix_function_block_profiler_exit (stream)
-     FILE *stream ATTRIBUTE_UNUSED;
-{
-  sorry ("block_profiler_exit support for MMIX");
-}
-
 /* SETUP_INCOMING_VARARGS.  */
 
 void