projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b93412
)
bechordal: Remove impossible case from get_decisive_partner_regs().
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 24 Nov 2012 15:10:42 +0000
(16:10 +0100)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 24 Nov 2012 15:50:39 +0000
(16:50 +0100)
o2 gets determined from o1, so o1 cannot be null.
ir/be/bechordal.c
patch
|
blob
|
history
diff --git
a/ir/be/bechordal.c
b/ir/be/bechordal.c
index
08ced27
..
8f66793
100644
(file)
--- a/
ir/be/bechordal.c
+++ b/
ir/be/bechordal.c
@@
-90,9
+90,6
@@
static int get_next_free_reg(const be_chordal_alloc_env_t *alloc_env, bitset_t *
static bitset_t const *get_decisive_partner_regs(const be_operand_t *o1, const be_operand_t *o2)
{
- if (!o1)
- return o2->regs;
-
if (!o2)
return o1->regs;