projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove pointless assert, (x & 7) == (int){0,1,2,3,4,5,6,7}[x & 7] is always true.
[libfirm]
/
ir
/
be
/
bemodule.c
diff --git
a/ir/be/bemodule.c
b/ir/be/bemodule.c
index
a00714a
..
ec8c574
100644
(file)
--- a/
ir/be/bemodule.c
+++ b/
ir/be/bemodule.c
@@
-24,9
+24,7
@@
* @date 29.09.2005
* @version $Id$
*/
* @date 29.09.2005
* @version $Id$
*/
-#ifndef HAVE_CONFIG_H
#include "config.h"
#include "config.h"
-#endif
#include <stdlib.h>
#include <stdlib.h>
@@
-241,7
+239,7
@@
int dump_opt_module_vals(char *buf, size_t buflen, const char *name,
* Add a new module to list.
*/
void be_add_module_to_list(be_module_list_entry_t **list_head, const char *name,
* Add a new module to list.
*/
void be_add_module_to_list(be_module_list_entry_t **list_head, const char *name,
-
const
void *module)
+ void *module)
{
be_module_list_entry_t *entry = XMALLOC(be_module_list_entry_t);
entry->name = name;
{
be_module_list_entry_t *entry = XMALLOC(be_module_list_entry_t);
entry->name = name;