static int algo = BLOCKSCHED_GREEDY;
+#ifdef WITH_LIBCORE
static const lc_opt_enum_int_items_t blockschedalgo_items[] = {
{ "naiv", BLOCKSCHED_NAIV },
{ "extbb", BLOCKSCHED_EXTBB },
LC_OPT_ENT_ENUM_INT ("algo", "the block scheduling algorithm", &algo_var),
{ NULL }
};
+#endif
/*
* ____ _
entry = get_irn_link(block);
pred_entry = get_irn_link(pred_block);
- /* TODO: what's this check for? */
+ /* is 1 of the blocks already attached to another block? */
if (pred_entry->next != NULL || entry->prev != NULL)
continue;