X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbespill.c;h=5e16650d12fbf134b8d7c17579dd7e875352ecad;hb=15769c9f67d00b398ff43e013eddbe5269ba5787;hp=2d3436a2bf2a945981b14d59b8dbbae32e18b860;hpb=ac4539bca5c39db469e9e54cfa81072ead93f5c1;p=libfirm diff --git a/ir/be/bespill.c b/ir/be/bespill.c index 2d3436a2b..5e16650d1 100644 --- a/ir/be/bespill.c +++ b/ir/be/bespill.c @@ -39,7 +39,7 @@ #include "belive_t.h" #include "beirg.h" #include "bearch.h" -#include "benode_t.h" +#include "benode.h" #include "besched.h" #include "bera.h" #include "beintlive_t.h" @@ -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)