This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] function.h: Remove current_function_instrument_entry_exit.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 08 Apr 2005 11:12:49 -0400 (EDT)
- Subject: [patch] function.h: Remove current_function_instrument_entry_exit.
Hi,
Attached is a patch to remove current_function_instrument_entry_exit
as it is unused.
It was introduced in July 1998.
The last use was removed when tree-ssa was merged into mainline.
Tested on i686-pc-linux-gnu. OK to apply?
Kazu Hirata
2005-04-08 Kazu Hirata <kazu@cs.umass.edu>
* function.h (function): Remove instrument_entry_exit.
(current_function_instrument_entry_exit): Remove.
Index: function.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/function.h,v
retrieving revision 1.141
diff -u -d -p -r1.141 function.h
--- function.h 14 Mar 2005 02:55:03 -0000 1.141
+++ function.h 8 Apr 2005 01:52:03 -0000
@@ -396,10 +396,6 @@ struct function GTY(())
can throw. */
unsigned int all_throwers_are_sibcalls : 1;
- /* Nonzero if instrumentation calls for function entry and exit should be
- generated. */
- unsigned int instrument_entry_exit : 1;
-
/* Nonzero if profiling code should be generated. */
unsigned int profile : 1;
@@ -462,7 +458,6 @@ extern int trampolines_created;
#define current_function_stdarg (cfun->stdarg)
#define current_function_internal_arg_pointer (cfun->internal_arg_pointer)
#define current_function_return_rtx (cfun->return_rtx)
-#define current_function_instrument_entry_exit (cfun->instrument_entry_exit)
#define current_function_profile (cfun->profile)
#define current_function_funcdef_no (cfun->funcdef_no)
#define current_function_limit_stack (cfun->limit_stack)