diff options
author | Richard Henderson <rth@redhat.com> | 2000-11-07 18:18:00 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2000-11-07 18:18:00 -0800 |
commit | 6623457026dcd56ff98d3671fa038818abceaf77 (patch) | |
tree | 039cf362a9d26bfab7e7bde482045c4c205f1b48 /gcc/dwarfout.c | |
parent | cd5c4048b3b393f2fe046b2d0f676e7f3c3822d8 (diff) | |
download | gcc-6623457026dcd56ff98d3671fa038818abceaf77.zip gcc-6623457026dcd56ff98d3671fa038818abceaf77.tar.gz gcc-6623457026dcd56ff98d3671fa038818abceaf77.tar.bz2 |
dwarfout.c (INSN_LABEL_FMT): Remove.
* dwarfout.c (INSN_LABEL_FMT): Remove.
(output_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
(dwarfout_label): Remove.
* dwarfout.h: Remove it's prototype.
* dwarf2out.c (INSN_LABEL_FMT): Remove.
(gen_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
(dwarf2out_label): Remove.
* dwarf2out.h: Remove it's prototype.
* final.c (final_scan_insn): Don't call dwarf[2]out_label.
From-SVN: r37310
Diffstat (limited to 'gcc/dwarfout.c')
-rw-r--r-- | gcc/dwarfout.c | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/gcc/dwarfout.c b/gcc/dwarfout.c index 653f8de..708c574 100644 --- a/gcc/dwarfout.c +++ b/gcc/dwarfout.c @@ -561,9 +561,6 @@ static void retry_incomplete_types PARAMS ((void)); #ifndef PUB_DIE_LABEL_FMT #define PUB_DIE_LABEL_FMT "*.L_P%u" #endif -#ifndef INSN_LABEL_FMT -#define INSN_LABEL_FMT "*.L_I%u_%u" -#endif #ifndef BLOCK_BEGIN_LABEL_FMT #define BLOCK_BEGIN_LABEL_FMT "*.L_B%u" #endif @@ -3485,8 +3482,7 @@ output_label_die (arg) if (INSN_DELETED_P (insn)) abort (); /* Should never happen. */ - sprintf (label, INSN_LABEL_FMT, current_funcdef_number, - (unsigned) INSN_UID (insn)); + ASM_GENERATE_INTERNAL_LABEL (label, "L", CODE_LABEL_NUMBER (insn)); low_pc_attribute (label); } } @@ -5294,24 +5290,6 @@ dwarfout_end_block (blocknum) ASM_OUTPUT_LABEL (asm_out_file, label); } -/* Output a marker (i.e. a label) at a point in the assembly code which - corresponds to a given source level label. */ - -void -dwarfout_label (insn) - register rtx insn; -{ - if (debug_info_level >= DINFO_LEVEL_NORMAL) - { - char label[MAX_ARTIFICIAL_LABEL_BYTES]; - - function_section (current_function_decl); - sprintf (label, INSN_LABEL_FMT, current_funcdef_number, - (unsigned) INSN_UID (insn)); - ASM_OUTPUT_LABEL (asm_out_file, label); - } -} - /* Output a marker (i.e. a label) for the point in the generated code where the real body of the function begins (after parameters have been moved to their home locations). */ |