summaryrefslogtreecommitdiffhomepage
path: root/ir/be/benode.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2016-03-19 17:20:46 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2016-03-21 13:33:38 +0100
commit8162ac734e468bb977246e76c7b8458f640a7271 (patch)
tree512619e3ea63027c7ae182d600e26a0cd696e75a /ir/be/benode.c
parentafd6d427ae531cd2978843e9d7d73247e4be09b2 (diff)
be: Move 'be_create_reg_req()' from benode to bearch.
Diffstat (limited to 'ir/be/benode.c')
-rw-r--r--ir/be/benode.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/ir/be/benode.c b/ir/be/benode.c
index f781536..b61a103 100644
--- a/ir/be/benode.c
+++ b/ir/be/benode.c
@@ -356,22 +356,6 @@ unsigned be_get_MemPerm_entity_arity(const ir_node *irn)
return get_irn_arity(irn);
}
-const arch_register_req_t *be_create_reg_req(struct obstack *obst,
- const arch_register_t *reg,
- bool ignore)
-{
- arch_register_class_t const *cls = reg->cls;
- unsigned *limited
- = rbitset_obstack_alloc(obst, cls->n_regs);
- rbitset_set(limited, reg->index);
- arch_register_req_t *req = OALLOCZ(obst, arch_register_req_t);
- req->cls = cls;
- req->limited = limited;
- req->width = 1;
- req->ignore = ignore;
- return req;
-}
-
ir_node *be_get_IncSP_pred(ir_node *irn)
{
assert(be_is_IncSP(irn));