From 4ad797700d2309cf1e2ec724e54a0f14136271d9 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sat, 24 Nov 2012 15:55:54 +0100 Subject: [PATCH] bechordal: Remove invalid cases from assertion. The register classes must not be null here. All allocatable register requirements must have a class. --- ir/be/bechordal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1