summaryrefslogtreecommitdiffhomepage
path: root/ir/be/becopyilp2.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-12-16 23:43:30 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-12-16 23:47:15 +0100
commit3b6c919808534f66388ec4212373fe5b40d20926 (patch)
tree8076b70a62af82809dac5bf9232a3359659f3c0e /ir/be/becopyilp2.c
parent50a8c9cc239f96867b9c028cf6ad142454dcfc57 (diff)
becopyilp: Inline struct size_red_t into struct ilp_env_t.
Diffstat (limited to 'ir/be/becopyilp2.c')
-rw-r--r--ir/be/becopyilp2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ir/be/becopyilp2.c b/ir/be/becopyilp2.c
index d6e6f20..455fa1a 100644
--- a/ir/be/becopyilp2.c
+++ b/ir/be/becopyilp2.c
@@ -85,7 +85,7 @@ static void build_coloring_cstr(ilp_env_t *ienv)
unsigned curr_node_color;
unsigned has_alignment_cstr;
- if (sr_is_removed(ienv->sr, irn))
+ if (sr_is_removed(ienv, irn))
continue;
has_alignment_cstr = check_alignment_constraints(irn);
@@ -160,7 +160,7 @@ static void build_interference_cstr(ilp_env_t *ienv)
unsigned realsize = 0;
for (i=0; i<size; ++i) {
- if (!sr_is_removed(ienv->sr, clique[i]))
+ if (!sr_is_removed(ienv, clique[i]))
++realsize;
}
@@ -182,7 +182,7 @@ static void build_interference_cstr(ilp_env_t *ienv)
int var_idx;
unsigned aligment_offset = 0;
- if (sr_is_removed(ienv->sr, irn))
+ if (sr_is_removed(ienv, irn))
continue;
// Use the first part of the large registers for all