summaryrefslogtreecommitdiffhomepage
path: root/ir/ident
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2014-10-19 11:48:58 +0200
committerChristoph Mallon <mallon@cs.uni-saarland.de>2014-10-19 18:37:03 +0200
commitfb45ad91e9a3505118eadd869a5f679b36ff218d (patch)
tree3262b51fabd5c0dd4e23b54dbe75854bd25b4d9e /ir/ident
parent093605f587563721dfb8c734574200c041ccdc4c (diff)
ident: Remove the unused function id_mangle_3().
Diffstat (limited to 'ir/ident')
-rw-r--r--ir/ident/mangle.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/ir/ident/mangle.c b/ir/ident/mangle.c
index b9482e5..24569ba 100644
--- a/ir/ident/mangle.c
+++ b/ir/ident/mangle.c
@@ -47,15 +47,6 @@ ident *id_mangle3(const char *prefix, ident *scnd, const char *suffix)
return new_ident_from_obst(&mangle_obst);
}
-/** Returns a new ident that represents first<c>scnd. */
-static ident *id_mangle_3(ident *first, char c, ident *scnd)
-{
- obstack_grow_ident(&mangle_obst, first);
- obstack_1grow(&mangle_obst, c);
- obstack_grow_ident(&mangle_obst, scnd);
- return new_ident_from_obst(&mangle_obst);
-}
-
void firm_init_mangle(void)
{
obstack_init(&mangle_obst);