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
This commit is contained in:
Hans-Peter Nilsson 2001-12-09 21:25:03 +00:00 committed by Hans-Peter Nilsson
parent 39e790d53c
commit e41710661c
4 changed files with 12 additions and 40 deletions

View 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,

View 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. */

View 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));

View 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