summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-09 21:25:03 +0000
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-09 21:25:03 +0000
commit478e5b28430712d36079a23f799be0105eb4bbe8 (patch)
treeac8c9256dc49f04fbb7dfb7560aa7c427aa78d31
parent9753f6ab866ef623b3433622cdbe663632b86738 (diff)
downloadgcc-478e5b28430712d36079a23f799be0105eb4bbe8.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47818 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog12
-rw-r--r--gcc/config/cris/cris.h8
-rw-r--r--gcc/config/mmix/mmix-protos.h3
-rw-r--r--gcc/config/mmix/mmix.c29
4 files changed, 12 insertions, 40 deletions
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 <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 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