diff options
author | Richard Henderson <rth@redhat.com> | 2002-06-17 10:47:22 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-06-17 10:47:22 -0700 |
commit | df696a75734ea7998d0d5ef75cbafba8be33c908 (patch) | |
tree | 4ca10c66a1de94288a6165a609e02cc9122faba6 /gcc/function.h | |
parent | 10cb24df3afa7fa83fecf6c00e7c8f561ffb925c (diff) | |
download | gcc-df696a75734ea7998d0d5ef75cbafba8be33c908.zip gcc-df696a75734ea7998d0d5ef75cbafba8be33c908.tar.gz gcc-df696a75734ea7998d0d5ef75cbafba8be33c908.tar.bz2 |
function.h (struct function): Rename profile_label_no.
* function.h (struct function) [funcdef_no]: Rename profile_label_no.
(current_function_funcdef_no): Similarly.
* function.c (funcdef_no): Similarly.
(prepare_function_start): Set current_function_funcdef_no.
(expand_function_start): Don't set current_function_profile_label_no.
* dwarf2out.h (current_funcdef_number): Remove.
* dwarf2out.c (current_funcdef_number): Remove. Replace with
current_function_funcdef_no throughout.
* dwarfout.c, vmsdbgout.c: Similarly.
* except.c (sjlj_funcdef_number): Remove.
(sjlj_emit_function_enter): Use current_function_funcdef_no instead.
(output_function_exception_table): Likewise.
* final.c (profile_function): Use current_function_funcdef_no
instead of current_function_profile_label_no.
From-SVN: r54709
Diffstat (limited to 'gcc/function.h')
-rw-r--r-- | gcc/function.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/function.h b/gcc/function.h index 0c598be..1c6337c 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -365,8 +365,8 @@ struct function GTY(()) /* Highest label number in current function. */ int inl_max_label_num; - /* Profile label number. */ - int profile_label_no; + /* Function sequence number for profiling, debugging, etc. */ + int funcdef_no; /* For md files. */ @@ -528,7 +528,7 @@ extern int virtuals_instantiated; #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_profile_label_no (cfun->profile_label_no) +#define current_function_funcdef_no (cfun->funcdef_no) #define current_function_limit_stack (cfun->limit_stack) #define current_function_uses_pic_offset_table (cfun->uses_pic_offset_table) #define current_function_uses_const_pool (cfun->uses_const_pool) |