X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Fmangle.h;h=72098a9158a469daa7954d20fe4bb0e5c4812490;hb=67e3ef5e7088c2254daeb2a72e0950bef6ca0256;hp=c1f1b3320184adc8b742caf1d13046b0d6d5d073;hpb=efbeaff549fcc6015da255ed4d453a95937ff0fd;p=libfirm diff --git a/ir/tr/mangle.h b/ir/tr/mangle.h index c1f1b3320..72098a915 100644 --- a/ir/tr/mangle.h +++ b/ir/tr/mangle.h @@ -5,6 +5,8 @@ ** */ +/* $Id$ */ + # include "ident.h" # include "entity.h" # include "type.h" @@ -12,5 +14,17 @@ void 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 + a separating "_". f*/ ident *mangle_entity (entity *ent); -ident *mangle_type (type *type); + +/* Sorry, I'm not sure what this does... seems to copy the string. */ +ident *mangle_type (type *type); + +/* mangle underscore: Returns a new ident that represents first_scnd. */ +ident *mangle_u (ident *first, ident* scnd); + + +/* mangle: Returns a new ident that represents firstscnd. */ +ident *mangle (ident *first, ident* scnd);