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/final.c | |
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/final.c')
-rw-r--r-- | gcc/final.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/final.c b/gcc/final.c index aa4caf1..3b3dfcd 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -1724,7 +1724,7 @@ profile_function (file) #ifndef NO_PROFILE_COUNTERS data_section (); ASM_OUTPUT_ALIGN (file, floor_log2 (align / BITS_PER_UNIT)); - ASM_OUTPUT_INTERNAL_LABEL (file, "LP", current_function_profile_label_no); + ASM_OUTPUT_INTERNAL_LABEL (file, "LP", current_function_funcdef_no); assemble_integer (const0_rtx, LONG_TYPE_SIZE / BITS_PER_UNIT, align, 1); #endif @@ -1754,7 +1754,7 @@ profile_function (file) #endif #endif - FUNCTION_PROFILER (file, current_function_profile_label_no); + FUNCTION_PROFILER (file, current_function_funcdef_no); #if defined(STATIC_CHAIN_INCOMING_REGNUM) && defined(ASM_OUTPUT_REG_PUSH) if (cxt) |