projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f98168f
)
add a comment that memcmp is not hostile here
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Wed, 30 Apr 2008 11:50:20 +0000
(11:50 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Wed, 30 Apr 2008 11:50:20 +0000
(11:50 +0000)
[r19466]
ir/ident/ident.c
patch
|
blob
|
history
diff --git
a/ir/ident/ident.c
b/ir/ident/ident.c
index
b8cbd83
..
47838da
100644
(file)
--- a/
ir/ident/ident.c
+++ b/
ir/ident/ident.c
@@
-282,6
+282,7
@@
void init_ident(ident_if_t *id_if, int initial_n_idents)
impl.get_id_wcslen = set_get_id_wcslen;
#endif /* FIRM_ENABLE_WCHAR */
+ /* it's ok to use memcmp here, we check only strings */
impl.handle = new_set(memcmp, initial_n_idents);
}
}