summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bechordal_common.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/bechordal_common.c
parentc85d04f813a7c612b7f9b4d0eb296c6b54441304 (diff)
remove arch_register_req_type_limited, look whether the limited pointer is != NULL instead
Diffstat (limited to 'ir/be/bechordal_common.c')
-rw-r--r--ir/be/bechordal_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/bechordal_common.c b/ir/be/bechordal_common.c
index d262a3c..f7de3c5 100644
--- a/ir/be/bechordal_common.c
+++ b/ir/be/bechordal_common.c
@@ -154,7 +154,7 @@ ir_node *pre_process_constraints(be_chordal_env_t *env, be_insn_t **the_insn)
* limited, is a hack. It will break when multiple differently constrained
* inputs use the same value. */
arch_register_req_t const *const req = arch_get_irn_register_req_in(irn, i);
- if (!arch_register_req_is(req, limited))
+ if (req->limited == NULL)
continue;
arch_set_irn_register_req_out(perm, get_Proj_num(proj), req);
}