projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tarvals are unique no need to use tarval_cmp for equality checks
[libfirm]
/
ir
/
be
/
bemodule.c
diff --git
a/ir/be/bemodule.c
b/ir/be/bemodule.c
index
7ba3f57
..
2495898
100644
(file)
--- a/
ir/be/bemodule.c
+++ b/
ir/be/bemodule.c
@@
-116,9
+116,7
@@
void be_init_modules(void)
be_init_copyheur4();
be_init_copyheur();
be_init_copyheur2();
be_init_copyheur4();
be_init_copyheur();
be_init_copyheur2();
-#ifdef WITH_ILP
be_init_copyilp2();
be_init_copyilp2();
-#endif
be_init_pbqp_coloring();
be_init_copynone();
be_init_copystat();
be_init_pbqp_coloring();
be_init_copynone();
be_init_copystat();
@@
-137,9
+135,7
@@
void be_init_modules(void)
be_init_arch_amd64();
be_init_arch_TEMPLATE();
be_init_arch_amd64();
be_init_arch_TEMPLATE();
-#ifdef WITH_ILP
be_init_copyilp();
be_init_copyilp();
-#endif /* WITH_ILP */
#if PLUGIN_IR_BE_STA
be_init_arch_sta();
#if PLUGIN_IR_BE_STA
be_init_arch_sta();
@@
-232,7
+228,7
@@
static int dump_opt_module_vals(char *buf, size_t buflen, const char *name,
(void) len;
for (module = *(moddata->list_head); module != NULL; module = module->next) {
(void) len;
for (module = *(moddata->list_head); module != NULL; module = module->next) {
- size_t len = strlen(module->name);
+ size_t
name_
len = strlen(module->name);
if (module != *(moddata->list_head)) {
p = strncat(p, ", ", buflen - 1);
if (module != *(moddata->list_head)) {
p = strncat(p, ", ", buflen - 1);
@@
-241,10
+237,10
@@
static int dump_opt_module_vals(char *buf, size_t buflen, const char *name,
p = strncat(p, module->name, buflen - 1);
p = strncat(p, module->name, buflen - 1);
- if (len >= buflen)
+ if (
name_
len >= buflen)
break;
break;
- buflen -= len;
+ buflen -=
name_
len;
}
return strlen(buf);
}
return strlen(buf);