Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
475a885f
Commit
475a885f
authored
Oct 19, 2014
by
Christoph Mallon
Browse files
ident: Remove the unused function id_mangle().
parent
51a1c816
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/libfirm/ident.h
View file @
475a885f
...
...
@@ -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
);
...
...
ir/ident/mangle.c
View file @
475a885f
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment