aboutsummaryrefslogtreecommitdiff
path: root/gcc/output.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-04-23 07:20:55 +0000
committerAlan Modra <amodra@gcc.gnu.org>2002-04-23 16:50:55 +0930
commitf6f315fe1143ddf98f1eb66becabbb10aa92e0a3 (patch)
treefdb47569e86fdbcfcd516dea2f4adaa666e43043 /gcc/output.h
parent878a19ebe2b42ac126f62e4f3d3d2d70f0be26c2 (diff)
downloadgcc-f6f315fe1143ddf98f1eb66becabbb10aa92e0a3.zip
gcc-f6f315fe1143ddf98f1eb66becabbb10aa92e0a3.tar.gz
gcc-f6f315fe1143ddf98f1eb66becabbb10aa92e0a3.tar.bz2
re PR target/6413 (PROFILE_HOOK label_no)
PR target/6413 * function.h: (struct function): Add profile_label_no field. (current_function_profile_label_no): Define. * function.c: (profile_label_no): New static var. (expand_function_start): Increment it, and copy to current_function_profile_label_no. * output.h (profile_label_no): Delete. * final.c (profile_label_no): Delete. (profile_function): Use current_function_profile_label_no. (final_end_function): Don't increment profile_label_no here. * config/i386/i386.c (ix86_osf_output_function_prologue): Replace profile_label_no with current_function_profile_label_no. * config/pa/pa.c (current_function_number): Delete. (pa_output_function_prologue): Don't output profile label here. (hppa_profile_hook): Use label_no param rather than current_function_number. (FUNC_BEGIN_PROLOG_LABEL): Move to .. * config/pa/pa.h: .. here. (FUNCTION_PROFILER): Output profile label here. From-SVN: r52656
Diffstat (limited to 'gcc/output.h')
-rw-r--r--gcc/output.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/output.h b/gcc/output.h
index 3f8872a..b3426ce 100644
--- a/gcc/output.h
+++ b/gcc/output.h
@@ -491,9 +491,6 @@ extern const char *user_label_prefix;
#define STRIP_NAME_ENCODING(VAR,SYMBOL_NAME) \
(VAR) = ((SYMBOL_NAME) + ((SYMBOL_NAME)[0] == '*'))
#endif
-/* Assign unique numbers to labels generated for profiling. */
-
-extern int profile_label_no;
/* Default target function prologue and epilogue assembler output. */
extern void default_function_pro_epilogue PARAMS ((FILE *, HOST_WIDE_INT));