X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fident%2Fident_t.h;h=b81aff68dadfbc2e8c337325d6ca29a9cbce9ac5;hb=f8d7cadcac7404b56a67f0c6b6cd71a76cda9bd6;hp=89452e655d221730b142dc508a0c1cc63f0f3543;hpb=fc16f16a6846ae896c844a17cd3409faaf4a651d;p=libfirm diff --git a/ir/ident/ident_t.h b/ir/ident/ident_t.h index 89452e655..b81aff68d 100644 --- a/ir/ident/ident_t.h +++ b/ir/ident/ident_t.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -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