From: Hans-Peter Nilsson Date: Sun, 9 Dec 2001 21:25:03 +0000 (+0000) Subject: mmix.c (mmix_function_block_profiler, [...]): Delete unused functions. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e41710661ceadb59dde0004bce0d609be8049370;p=gcc.git mmix.c (mmix_function_block_profiler, [...]): Delete unused functions. * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ff0be645ddc..3f8f8711856 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,15 @@ +2001-12-09 Hans-Peter Nilsson + + * 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 * doc/cpp.texi, doc/cppinternals.texi, doc/invoke.texi, diff --git a/gcc/config/cris/cris.h b/gcc/config/cris/cris.h index d4ed6bc1053..f97ff0b3ddf 100644 --- a/gcc/config/cris/cris.h +++ b/gcc/config/cris/cris.h @@ -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. */ diff --git a/gcc/config/mmix/mmix-protos.h b/gcc/config/mmix/mmix-protos.h index f746c7b0fca..e1b11a3aaf2 100644 --- a/gcc/config/mmix/mmix-protos.h +++ b/gcc/config/mmix/mmix-protos.h @@ -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)); diff --git a/gcc/config/mmix/mmix.c b/gcc/config/mmix/mmix.c index 73abc7998d5..6d1c72d2e90 100644 --- a/gcc/config/mmix/mmix.c +++ b/gcc/config/mmix/mmix.c @@ -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