projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use foreach_set() instead of reimplementing it.
[libfirm]
/
ir
/
be
/
besched.c
diff --git
a/ir/be/besched.c
b/ir/be/besched.c
index
922dccb
..
5f87b70
100644
(file)
--- a/
ir/be/besched.c
+++ b/
ir/be/besched.c
@@
-21,7
+21,6
@@
* @file
* @brief Scheduling utilities for nodes in Blocks and Blocks.
* @author Sebastian Hack
* @file
* @brief Scheduling utilities for nodes in Blocks and Blocks.
* @author Sebastian Hack
- * @version $Id$
*/
#include "config.h"
*/
#include "config.h"
@@
-33,7
+32,6
@@
#include "irgraph_t.h"
#include "iredges_t.h"
#include "ircons.h"
#include "irgraph_t.h"
#include "iredges_t.h"
#include "ircons.h"
-#include "irextbb.h"
#include "irgmod.h"
#include "debug.h"
#include "irgmod.h"
#include "debug.h"
@@
-158,7
+156,7
@@
void be_register_scheduler(const char *name, schedule_func func)
{
if (scheduler == NULL)
scheduler = func;
{
if (scheduler == NULL)
scheduler = func;
- be_add_module_to_list(&schedulers, name, func);
+ be_add_module_to_list(&schedulers, name,
(void*)
func);
}
void be_schedule_graph(ir_graph *irg)
}
void be_schedule_graph(ir_graph *irg)
@@
-166,7
+164,7
@@
void be_schedule_graph(ir_graph *irg)
scheduler(irg);
}
scheduler(irg);
}
-BE_REGISTER_MODULE_CONSTRUCTOR(be_init_sched)
;
+BE_REGISTER_MODULE_CONSTRUCTOR(be_init_sched)
void be_init_sched(void)
{
lc_opt_entry_t *be_grp = lc_opt_get_grp(firm_opt_get_root(), "be");
void be_init_sched(void)
{
lc_opt_entry_t *be_grp = lc_opt_get_grp(firm_opt_get_root(), "be");