summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bespill.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-11-24 23:47:15 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-11-25 08:17:04 +0100
commitb35afc79238e7731b8b3beecc69468cb719735f5 (patch)
tree61ac9d978aea421f7542d586ad754a77f237e120 /ir/be/bespill.c
parent3148f62500ba767f21449da490238e3258fb980a (diff)
bearch: remove arch_register_type_joker.
arch_register_type_virtual is sufficient.
Diffstat (limited to 'ir/be/bespill.c')
-rw-r--r--ir/be/bespill.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ir/be/bespill.c b/ir/be/bespill.c
index f56b745..a6dbcbd 100644
--- a/ir/be/bespill.c
+++ b/ir/be/bespill.c
@@ -84,9 +84,8 @@ static void prepare_constr_insn(be_pre_spill_env_t *env, ir_node *node)
if (reg == NULL)
continue;
- /* precolored with an ignore register (which is not a joker like
- unknown/noreg) */
- if ((reg->type & arch_register_type_joker) ||
+ /* Precolored with an ignore register (which is not virtual). */
+ if (reg->type & arch_register_type_virtual ||
rbitset_is_set(birg->allocatable_regs, reg->global_index))
continue;