projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
valueset: Remove the unused link field.
[libfirm]
/
ir
/
ident
/
ident_t.h
diff --git
a/ir/ident/ident_t.h
b/ir/ident/ident_t.h
index
89452e6
..
74332f7
100644
(file)
--- a/
ir/ident/ident_t.h
+++ b/
ir/ident/ident_t.h
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 1995-200
7
University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-200
8
University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
*
* This file is part of libFirm.
*
@@
-21,7
+21,6
@@
* @file
* @brief Hash table to store names -- private header.
* @author Goetz Lindenmaier
* @file
* @brief Hash table to store names -- private header.
* @author Goetz Lindenmaier
- * @version $Id$
*/
#ifndef FIRM_IDENT_IDENT_T_H
#define FIRM_IDENT_IDENT_T_H
*/
#ifndef FIRM_IDENT_IDENT_T_H
#define FIRM_IDENT_IDENT_T_H
@@
-30,24
+29,17
@@
/**
* Initialize the ident module.
/**
* 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.
*/
/**
* Finishes the ident module, frees all entries.
*/
-void finish_ident (void);
+void finish_ident(void);
+
+/** initializes the name mangling code */
+void firm_init_mangle(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))
+void firm_finish_mangle(void);
#endif
#endif