projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06deb2a
)
bechordal: Remove invalid cases from assertion.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 24 Nov 2012 14:55:54 +0000
(15:55 +0100)
committer
Christoph 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
patch
|
blob
|
history
diff --git
a/ir/be/bechordal.c
b/ir/be/bechordal.c
index
08fb2f0
..
80ee561
100644
(file)
--- 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);