summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bespill.c
diff options
context:
space:
mode:
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>2009-09-04 20:15:54 +0200
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>2009-09-04 20:15:54 +0200
commit871d475ce46fde8939488624c9b9b3a73643f9cc (patch)
tree7181dfd3f1e5208f30370eb32db9c140f747c31b /ir/be/bespill.c
parent532c2cd96f3e03ae22d05a36bb213510a274ec7b (diff)
We have already asserted the condition.
[r26491]
Diffstat (limited to 'ir/be/bespill.c')
-rw-r--r--ir/be/bespill.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ir/be/bespill.c b/ir/be/bespill.c
index 2d3436a..034d30e 100644
--- a/ir/be/bespill.c
+++ b/ir/be/bespill.c
@@ -280,9 +280,8 @@ void be_register_spiller(const char *name, be_spiller_t *spiller)
void be_do_spill(be_irg_t *birg, const arch_register_class_t *cls)
{
assert(selected_spiller != NULL);
- if (selected_spiller != NULL) {
- selected_spiller->spill(birg, cls);
- }
+
+ selected_spiller->spill(birg, cls);
}
void be_init_spilloptions(void)