summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bespill.c
diff options
context:
space:
mode:
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>2010-12-06 20:01:56 +0100
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>2010-12-06 20:01:56 +0100
commite44426021b5f23c05bcae04ee99d1e7afdd71b82 (patch)
tree5a548220ca461ed2cae217ef4999ac0d6f7ae931 /ir/be/bespill.c
parent5833f687cf585b130fca4cc77d472955b62c1f59 (diff)
Removed the arch_register_type_is() macro.
Only makes it hard to search for arch_register_type_* flags. [r28185]
Diffstat (limited to 'ir/be/bespill.c')
-rw-r--r--ir/be/bespill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/be/bespill.c b/ir/be/bespill.c
index b38967a..4eecd8e 100644
--- a/ir/be/bespill.c
+++ b/ir/be/bespill.c
@@ -87,8 +87,8 @@ static void prepare_constr_insn(be_pre_spill_env_t *env, ir_node *node)
/* precolored with an ignore register (which is not a joker like
unknown/noreg) */
- if (arch_register_type_is(reg, joker)
- || rbitset_is_set(birg->allocatable_regs, reg->global_index))
+ if ((reg->type & arch_register_type_joker) ||
+ rbitset_is_set(birg->allocatable_regs, reg->global_index))
continue;
if (! (req->type & arch_register_req_type_limited))