make mangle3 public
authorMatthias Braun <matze@braunis.de>
Thu, 3 Apr 2008 21:08:21 +0000 (21:08 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 3 Apr 2008 21:08:21 +0000 (21:08 +0000)
[r19101]

include/libfirm/ident.h
ir/ident/mangle.c

index b2a0f6e..5296f33 100644 (file)
@@ -305,6 +305,9 @@ ident *mangle_dot (ident *first, ident* scnd);
 /** mangle: Returns a new ident that represents firstscnd. */
 ident *mangle   (ident *first, ident* scnd);
 
+/** Returns a new ident that represents 'prefixscndsuffix'. */
+ident *mangle3 (const char *prefix, ident *middle, const char *suffix);
+
 /** returns a mangled name for a Win32 function using it's calling convention */
 ident *decorate_win32_c_fkt(ir_entity *ent, ident *id);
 
index 643ce1c..abe4a6b 100644 (file)
@@ -80,7 +80,7 @@ ident *mangle(ident *first, ident *scnd) {
 }
 
 /** Returns a new ident that represents 'prefixscndsuffix'. */
-static ident *mangle3(const char *prefix, ident *scnd, const char *suffix) {
+ident *mangle3(const char *prefix, ident *scnd, const char *suffix) {
        char *cp;
        int len;
        ident *res;