Commit fd8e4663 by Ben Elliston Committed by Ben Elliston

dwarf2out.c (dwarf_type_encoding_name): Remove unused prototype and definition.

	* dwarf2out.c (dwarf_type_encoding_name): Remove unused prototype
	and definition.

From-SVN: r96851
parent fb925a51
2005-03-22 Ben Elliston <bje@au.ibm.com>
* dwarf2out.c (dwarf_type_encoding_name): Remove unused prototype
and definition.
2005-03-21 Mike Stump <mrs@apple.com> 2005-03-21 Mike Stump <mrs@apple.com>
* varasm.c (default_assemble_visibility): Remove extra (). * varasm.c (default_assemble_visibility): Remove extra ().
......
...@@ -3778,9 +3778,6 @@ static int is_tagged_type (tree); ...@@ -3778,9 +3778,6 @@ static int is_tagged_type (tree);
static const char *dwarf_tag_name (unsigned); static const char *dwarf_tag_name (unsigned);
static const char *dwarf_attr_name (unsigned); static const char *dwarf_attr_name (unsigned);
static const char *dwarf_form_name (unsigned); static const char *dwarf_form_name (unsigned);
#if 0
static const char *dwarf_type_encoding_name (unsigned);
#endif
static tree decl_ultimate_origin (tree); static tree decl_ultimate_origin (tree);
static tree block_ultimate_origin (tree); static tree block_ultimate_origin (tree);
static tree decl_class_context (tree); static tree decl_class_context (tree);
...@@ -4549,36 +4546,6 @@ dwarf_form_name (unsigned int form) ...@@ -4549,36 +4546,6 @@ dwarf_form_name (unsigned int form)
} }
} }
/* Convert a DWARF type code into its string name. */
#if 0
static const char *
dwarf_type_encoding_name (unsigned enc)
{
switch (enc)
{
case DW_ATE_address:
return "DW_ATE_address";
case DW_ATE_boolean:
return "DW_ATE_boolean";
case DW_ATE_complex_float:
return "DW_ATE_complex_float";
case DW_ATE_float:
return "DW_ATE_float";
case DW_ATE_signed:
return "DW_ATE_signed";
case DW_ATE_signed_char:
return "DW_ATE_signed_char";
case DW_ATE_unsigned:
return "DW_ATE_unsigned";
case DW_ATE_unsigned_char:
return "DW_ATE_unsigned_char";
default:
return "DW_ATE_<unknown>";
}
}
#endif
/* Determine the "ultimate origin" of a decl. The decl may be an inlined /* Determine the "ultimate origin" of a decl. The decl may be an inlined
instance of an inlined instance of a decl which is local to an inline instance of an inlined instance of a decl which is local to an inline
function, so we have to trace all of the way back through the origin chain function, so we have to trace all of the way back through the origin chain
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment