- struct obstack *obst = be_get_be_obst(irg);
- arch_register_req_t *new_sp_req;
- unsigned *limited_bitset;
-
- new_sp_req = OALLOCZ(obst, arch_register_req_t);
- new_sp_req->type = arch_register_req_type_limited
- | arch_register_req_type_produces_sp;
- new_sp_req->cls = arch_env->sp->reg_class;
- new_sp_req->width = 1;
-
- limited_bitset = rbitset_obstack_alloc(obst, new_sp_req->cls->n_regs);
- rbitset_set(limited_bitset, sp->index);
- new_sp_req->limited = limited_bitset;
-
- if (!rbitset_is_set(birg->allocatable_regs, sp->global_index)) {
- new_sp_req->type |= arch_register_req_type_ignore;
- }
+ arch_register_req_type_t type = arch_register_req_type_produces_sp;
+ if (!rbitset_is_set(birg->allocatable_regs, sp->global_index))
+ type |= arch_register_req_type_ignore;