X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbecopyheur.c;h=3f642d20d9af905955ebbb6b0f021a0554678533;hb=143561a3b47dd7cd6fbd1760d69f9299b64e9994;hp=1dfb38f878367304eaaba3e1dcd432aaa3a7a2af;hpb=719b0dc8377fc55decc4629bf5e523104a82b76f;p=libfirm diff --git a/ir/be/becopyheur.c b/ir/be/becopyheur.c index 1dfb38f87..3f642d20d 100644 --- a/ir/be/becopyheur.c +++ b/ir/be/becopyheur.c @@ -525,6 +525,8 @@ static void ou_optimize(unit_t *ou) { arch_put_non_ignore_regs(aenv, cls, ign_regs); bitset_and(pos_regs, ign_regs); + assert(bitset_popcnt(pos_regs) != 0 && "No register is allowed for this node !!?"); + /* create new qnode */ bitset_foreach(pos_regs, i) ou_insert_qnode(ou, new_qnode(ou, i));