Commit 475a885f authored by Christoph Mallon's avatar Christoph Mallon
Browse files

ident: Remove the unused function id_mangle().

parent 51a1c816
......@@ -64,9 +64,6 @@ 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);
/** mangle: Returns a new ident that represents firstscnd. */
FIRM_API ident *id_mangle(ident *first, ident* scnd);
/** Returns a new ident that represents 'prefixscndsuffix'. */
FIRM_API ident *id_mangle3(const char *prefix, ident *middle,
const char *suffix);
......
......@@ -38,14 +38,6 @@ static ident *new_ident_from_obst(struct obstack *obst)
return res;
}
/* Returns a new ident that represents 'firstscnd'. */
ident *id_mangle(ident *first, ident *scnd)
{
obstack_grow_ident(&mangle_obst, first);
obstack_grow_ident(&mangle_obst, scnd);
return new_ident_from_obst(&mangle_obst);
}
/** Returns a new ident that represents 'prefixscndsuffix'. */
ident *id_mangle3(const char *prefix, ident *scnd, const char *suffix)
{
......
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