Commit 093605f5 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

ident: Remove the unused function id_mangle_u().

parent d3ea3c45
...@@ -61,9 +61,6 @@ FIRM_API const char *get_id_str(ident *id); ...@@ -61,9 +61,6 @@ FIRM_API const char *get_id_str(ident *id);
*/ */
FIRM_API ident *id_unique(const char *tag); FIRM_API ident *id_unique(const char *tag);
/** mangle underscore: Returns a new ident that represents first_scnd. */
FIRM_API ident *id_mangle_u(ident *first, ident* scnd);
/** Returns a new ident that represents 'prefixscndsuffix'. */ /** Returns a new ident that represents 'prefixscndsuffix'. */
FIRM_API ident *id_mangle3(const char *prefix, ident *middle, FIRM_API ident *id_mangle3(const char *prefix, ident *middle,
const char *suffix); const char *suffix);
......
...@@ -56,12 +56,6 @@ static ident *id_mangle_3(ident *first, char c, ident *scnd) ...@@ -56,12 +56,6 @@ static ident *id_mangle_3(ident *first, char c, ident *scnd)
return new_ident_from_obst(&mangle_obst); return new_ident_from_obst(&mangle_obst);
} }
/* Returns a new ident that represents first_scnd. */
ident *id_mangle_u(ident *first, ident* scnd)
{
return id_mangle_3(first, '_', scnd);
}
void firm_init_mangle(void) void firm_init_mangle(void)
{ {
obstack_init(&mangle_obst); obstack_init(&mangle_obst);
......
Supports Markdown
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