projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use default error handler if none is specified
[libfirm]
/
ir
/
be
/
becopyilp2.c
diff --git
a/ir/be/becopyilp2.c
b/ir/be/becopyilp2.c
index
a3d29c6
..
06cb43e
100644
(file)
--- a/
ir/be/becopyilp2.c
+++ b/
ir/be/becopyilp2.c
@@
-44,11
+44,7
@@
*
* x_nc, y_ij \in N, w_ij \in R^+
*/
*
* x_nc, y_ij \in N, w_ij \in R^+
*/
-#ifdef HAVE_CONFIG_H
#include "config.h"
#include "config.h"
-#endif /* HAVE_CONFIG_H */
-
-#include "firm_config.h"
#ifdef WITH_ILP
#ifdef WITH_ILP
@@
-296,7
+292,7
@@
static void build_clique_star_cstr(ilp_env_t *ienv) {
set *edges;
int i, o, n_nodes, n_edges;
set *edges;
int i, o, n_nodes, n_edges;
- if (arch_irn_is(
ienv->co->aenv,
aff->irn, ignore))
+ if (arch_irn_is(aff->irn, ignore))
continue;
obstack_init(&ob);
continue;
obstack_init(&ob);
@@
-305,7
+301,7
@@
static void build_clique_star_cstr(ilp_env_t *ienv) {
/* get all affinity neighbours */
n_nodes = 0;
co_gs_foreach_neighb(aff, nbr) {
/* get all affinity neighbours */
n_nodes = 0;
co_gs_foreach_neighb(aff, nbr) {
- if (!arch_irn_is(
ienv->co->aenv,
nbr->irn, ignore)) {
+ if (!arch_irn_is(nbr->irn, ignore)) {
obstack_ptr_grow(&ob, nbr->irn);
++n_nodes;
}
obstack_ptr_grow(&ob, nbr->irn);
++n_nodes;
}
@@
-409,7
+405,7
@@
static void extend_path(ilp_env_t *ienv, pdeq *path, const ir_node *irn) {
if (pdeq_contains(path, irn))
return;
if (pdeq_contains(path, irn))
return;
- if (arch_irn_is(i
env->co->aenv, i
rn, ignore))
+ if (arch_irn_is(irn, ignore))
return;
/* insert the new irn */
return;
/* insert the new irn */