diff options
author | Hans-Peter Nilsson <hp@bitrange.com> | 2001-12-09 21:25:03 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2001-12-09 21:25:03 +0000 |
commit | e41710661ceadb59dde0004bce0d609be8049370 (patch) | |
tree | ac8c9256dc49f04fbb7dfb7560aa7c427aa78d31 /gcc | |
parent | 39e790d53cb8e4610b8bd6fc27c9573ab7f358a1 (diff) | |
download | gcc-e41710661ceadb59dde0004bce0d609be8049370.zip gcc-e41710661ceadb59dde0004bce0d609be8049370.tar.gz gcc-e41710661ceadb59dde0004bce0d609be8049370.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 12 | ||||
-rw-r--r-- | gcc/config/cris/cris.h | 8 | ||||
-rw-r--r-- | gcc/config/mmix/mmix-protos.h | 3 | ||||
-rw-r--r-- | gcc/config/mmix/mmix.c | 29 |
4 files changed, 12 insertions, 40 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ff0be64..3f8f871 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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, diff --git a/gcc/config/cris/cris.h b/gcc/config/cris/cris.h index d4ed6bc..f97ff0b 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 f746c7b..e1b11a3a 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 73abc79..6d1c72d 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 |