diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-08 02:18:00 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-08 02:18:00 +0000 |
commit | 1134a0280f4d6354a8e8576525da101d770dc906 (patch) | |
tree | 039cf362a9d26bfab7e7bde482045c4c205f1b48 /gcc/dwarfout.c | |
parent | aef29c61140159457091dc5ee4292e8a9c8c83cc (diff) | |
download | gcc-1134a0280f4d6354a8e8576525da101d770dc906.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37310 138bc75d-0d04-0410-961f-82ee72b054a4
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 653f8dec197..708c574fa71 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). */ |