bechordal: Remove invalid cases from assertion.
authorChristoph Mallon <christoph.mallon@gmx.de>
Sat, 24 Nov 2012 14:55:54 +0000 (15:55 +0100)
committerChristoph Mallon <christoph.mallon@gmx.de>
Sat, 24 Nov 2012 14:55:54 +0000 (15:55 +0100)
The register classes must not be null here.
All allocatable register requirements must have a class.

ir/be/bechordal.c

index 08fb2f0..80ee561 100644 (file)
@@ -102,7 +102,7 @@ static bitset_t *get_decisive_partner_regs(bitset_t *bs, const be_operand_t *o1,
                return bs;
        }
 
-       assert(o1->req->cls == o2->req->cls || ! o1->req->cls || ! o2->req->cls);
+       assert(o1->req->cls == o2->req->cls);
 
        if (bitset_contains(o1->regs, o2->regs)) {
                bitset_copy(bs, o1->regs);