summaryrefslogtreecommitdiffhomepage
path: root/ir/be/becopyilp2.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-06-19 08:34:12 +0200
committerMatthias Braun <matze@braunis.de>2015-06-19 08:34:12 +0200
commitbd0bfb9fe11843421b22ba66e62c35c9a383e62e (patch)
treec99615903984e2bde9f81c283eb01dc2a776b66a /ir/be/becopyilp2.c
parentc85d04f813a7c612b7f9b4d0eb296c6b54441304 (diff)
remove arch_register_req_type_limited, look whether the limited pointer is != NULL instead
Diffstat (limited to 'ir/be/becopyilp2.c')
-rw-r--r--ir/be/becopyilp2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/becopyilp2.c b/ir/be/becopyilp2.c
index 28b4302..b557354 100644
--- a/ir/be/becopyilp2.c
+++ b/ir/be/becopyilp2.c
@@ -91,7 +91,7 @@ static void build_coloring_cstr(ilp_env_t *ienv)
req = arch_get_irn_register_req(irn);
/* get assignable colors */
- if (arch_register_req_is(req, limited)) {
+ if (req->limited != NULL) {
rbitset_copy(colors, req->limited, n_regs);
} else {
rbitset_copy(colors, allocatable_colors, n_regs);