projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
irgmod: Pass the new inputs to turn_into_tuple() instead of initialising them with...
[libfirm]
/
ir
/
ident
/
ident.c
diff --git
a/ir/ident/ident.c
b/ir/ident/ident.c
index
c490f96
..
8a23dfa
100644
(file)
--- a/
ir/ident/ident.c
+++ b/
ir/ident/ident.c
@@
-21,7
+21,6
@@
* @file
* @brief Hash table to store names.
* @author Goetz Lindenmaier
* @file
* @brief Hash table to store names.
* @author Goetz Lindenmaier
- * @version $Id$
*/
#include "config.h"
*/
#include "config.h"
@@
-47,7
+46,7
@@
void init_ident(void)
ident *new_id_from_chars(const char *str, size_t len)
{
ident *new_id_from_chars(const char *str, size_t len)
{
- unsigned hash =
HASH_STR(
str, len);
+ unsigned hash =
hash_data((const unsigned char*)
str, len);
ident *result = (ident*) set_hinsert0(id_set, str, len, hash);
return result;
}
ident *result = (ident*) set_hinsert0(id_set, str, len, hash);
return result;
}