From 871d475ce46fde8939488624c9b9b3a73643f9cc Mon Sep 17 00:00:00 2001 From: Sebastian Buchwald Date: Fri, 4 Sep 2009 18:15:54 +0000 Subject: [PATCH] We have already asserted the condition. [r26491] --- ir/be/bespill.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ir/be/bespill.c b/ir/be/bespill.c index 2d3436a2b..034d30e07 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) -- 2.20.1