summaryrefslogtreecommitdiffhomepage
path: root/ir/ident
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2014-10-19 11:29:07 +0200
committerChristoph Mallon <mallon@cs.uni-saarland.de>2014-10-19 18:37:02 +0200
commit475a885f59d89d643b5a3bf0ebcb2499d5f1dc52 (patch)
treeb4a8ca88f0a0f80956c35d504b766f6a26228f58 /ir/ident
parent51a1c81676a490eda11ff97658aeaf48fa03af9d (diff)
ident: Remove the unused function id_mangle().
Diffstat (limited to 'ir/ident')
-rw-r--r--ir/ident/mangle.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ir/ident/mangle.c b/ir/ident/mangle.c
index 8cca807..6fa544e 100644
--- a/ir/ident/mangle.c
+++ b/ir/ident/mangle.c
@@ -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)
{