aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1995-04-12 11:35:15 -0700
committerJim Wilson <wilson@gcc.gnu.org>1995-04-12 11:35:15 -0700
commit95b2ff8be2f8234a05e9aa83296e23cf0a1e2642 (patch)
treebaf4cd9d864addf7da684812b0745599d2a81bd8 /gcc
parentebc27362b382f9f23668927f632da14055164131 (diff)
downloadgcc-95b2ff8be2f8234a05e9aa83296e23cf0a1e2642.zip
gcc-95b2ff8be2f8234a05e9aa83296e23cf0a1e2642.tar.gz
gcc-95b2ff8be2f8234a05e9aa83296e23cf0a1e2642.tar.bz2
(sdbout_record_type_name): Correct indentation.
(sdbout_symbol): Use DECL_ASSEMBLER_NAME unconditionally. (sdbout_one_type): Likewise. From-SVN: r9365
Diffstat (limited to 'gcc')
-rw-r--r--gcc/sdbout.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/gcc/sdbout.c b/gcc/sdbout.c
index af00354..4e95abd 100644
--- a/gcc/sdbout.c
+++ b/gcc/sdbout.c
@@ -422,7 +422,7 @@ sdbout_record_type_name (type)
tree t = 0;
/* Find the IDENTIFIER_NODE for the type name. */
if (TREE_CODE (TYPE_NAME (type)) == IDENTIFIER_NODE)
- t = TYPE_NAME (type);
+ t = TYPE_NAME (type);
else if (TREE_CODE (TYPE_NAME (type)) == TYPE_DECL)
{
t = DECL_NAME (TYPE_NAME (type));
@@ -784,10 +784,7 @@ sdbout_symbol (decl, local)
return;
/* Record the name for, starting a symtab entry. */
- if (DECL_LANG_SPECIFIC (decl))
- name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl));
- else
- name = IDENTIFIER_POINTER (DECL_NAME (decl));
+ name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl));
if (GET_CODE (value) == MEM
&& GET_CODE (XEXP (value, 0)) == SYMBOL_REF)
@@ -1155,10 +1152,7 @@ sdbout_one_type (type)
char *name;
CONTIN;
- if (DECL_LANG_SPECIFIC (tem))
- name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (tem));
- else
- name = IDENTIFIER_POINTER (DECL_NAME (tem));
+ name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (tem));
PUT_SDB_DEF (name);
if (DECL_BIT_FIELD_TYPE (tem))
{