removed unitialized used vartiable
[libfirm] / ir / be / bespilloptions.h
index 1f1e383..8fac402 100644 (file)
@@ -7,12 +7,16 @@
 #ifndef BESPILL_OPTIONS_H_
 #define BESPILL_OPTIONS_H_
 
+#include "bechordal.h"
+
 extern int be_coalesce_spill_slots;
 extern int be_do_remats;
 
-#ifdef WITH_LIBCORE
-#include <libcore/lc_opts.h>
-void be_spill_register_options(lc_opt_entry_t *grp);
-#endif
+typedef struct be_spiller_t {
+       void (*spill) (be_irg_t *birg, const arch_register_class_t* cls);
+} be_spiller_t;
+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);
 
 #endif