From: Christoph Mallon Date: Sat, 24 Nov 2012 14:55:54 +0000 (+0100) Subject: bechordal: Remove invalid cases from assertion. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=4ad797700d2309cf1e2ec724e54a0f14136271d9;p=libfirm bechordal: Remove invalid cases from assertion. The register classes must not be null here. All allocatable register requirements must have a class. --- diff --git a/ir/be/bechordal.c b/ir/be/bechordal.c index 08fb2f047..80ee561bd 100644 --- a/ir/be/bechordal.c +++ b/ir/be/bechordal.c @@ -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);