X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fident%2Fident_t.h;h=b81aff68dadfbc2e8c337325d6ca29a9cbce9ac5;hb=4d6c06673e8fc5d144bfe16397697ff2812fc22e;hp=5919fbc00bc9170bdf883da9969bf548b7abb451;hpb=44c4d8bef4defba812b0765a12d345fa9826f4a9;p=libfirm diff --git a/ir/ident/ident_t.h b/ir/ident/ident_t.h index 5919fbc00..b81aff68d 100644 --- a/ir/ident/ident_t.h +++ b/ir/ident/ident_t.h @@ -30,24 +30,15 @@ /** * Initialize the ident module. - * - * @param id_if The ident module interface, if NULL, the default - * libFirm ident module will be used. - * @param initial_n_idents Only used in the default libFirm ident module, initial - * number of entries in the hash table. */ -void init_ident (ident_if_t *id_if, int initial_n_idents); +void init_ident(void); /** * Finishes the ident module, frees all entries. */ -void finish_ident (void); +void finish_ident(void); -/** The hash function of the internal ident module implementation. */ -#define ID_HASH(type, str, len) \ - ((( ((type *)(str))[0] * 33 \ - + ((type *)(str))[(len)>>1]) * 31 \ - + ((type *)(str))[(len)-1]) * 9 \ - + (len)) +/** initializes the name mangling code */ +void firm_init_mangle(void); #endif