X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Fmangle.h;h=892bdba1f5f576f1065d18c6e0c8dddce559f26e;hb=93ec9eb45d1630e73ed4932d66683adcc9c28d71;hp=8f3ded84606cc4238ef7426633afd7c92fa8cafb;hpb=25a9079a440dca3115aedcc4c22438e187ed9d7d;p=libfirm diff --git a/ir/tr/mangle.h b/ir/tr/mangle.h index 8f3ded846..892bdba1f 100644 --- a/ir/tr/mangle.h +++ b/ir/tr/mangle.h @@ -11,22 +11,21 @@ */ /** -* @file mangle.h -* -* FIRM name mangling -- methods to manipulate names. -* -* @author Martin Trapp, Christian Schaefer -*/ + * @file mangle.h + * + * FIRM name mangling -- methods to manipulate names. + * + * @author Martin Trapp, Christian Schaefer + */ #ifndef _MANGLE_H_ #define _MANGLE_H_ # include "ident.h" # include "entity.h" -# include "type.h" /** initializes the name mangling code */ -void init_mangle (void); +void firm_init_mangle (void); /** Computes a definite name for this entity by concatenating the name of the owner type and the name of the entity with @@ -36,7 +35,13 @@ ident *mangle_entity (entity *ent); /** mangle underscore: Returns a new ident that represents first_scnd. */ ident *mangle_u (ident *first, ident* scnd); +/** mangle dot: Returns a new ident that represents first.scnd. */ +ident *mangle_dot (ident *first, ident* scnd); + /** mangle: Returns a new ident that represents firstscnd. */ -ident *mangle (ident *first, ident* scnd); +ident *mangle (ident *first, ident* scnd); + +/** returns a mangled name for a Win32 function using it's calling convention */ +ident *decorate_win32_c_fkt(entity *ent); #endif /* _MANGLE_H_ */