projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove compound path initializers.
[libfirm]
/
ir
/
be
/
beschedrand.c
diff --git
a/ir/be/beschedrand.c
b/ir/be/beschedrand.c
index
6472228
..
064b124
100644
(file)
--- a/
ir/be/beschedrand.c
+++ b/
ir/be/beschedrand.c
@@
-22,7
+22,6
@@
* @brief Random node selector.
* @author Matthias Braun
* @date 29.08.2006
* @brief Random node selector.
* @author Matthias Braun
* @date 29.08.2006
- * @version $Id$
*/
#include "config.h"
*/
#include "config.h"
@@
-36,14
+35,12
@@
* The random selector:
* Just assure that branches are executed last, otherwise select a random node
*/
* The random selector:
* Just assure that branches are executed last, otherwise select a random node
*/
-static ir_node *random_select(void *block_env, ir_nodeset_t *ready_set,
- ir_nodeset_t *live_set)
+static ir_node *random_select(void *block_env, ir_nodeset_t *ready_set)
{
ir_nodeset_iterator_t iter;
ir_node *irn = NULL;
int only_branches_left = 1;
(void)block_env;
{
ir_nodeset_iterator_t iter;
ir_node *irn = NULL;
int only_branches_left = 1;
(void)block_env;
- (void)live_set;
/* assure that branches and constants are executed last */
ir_nodeset_iterator_init(&iter, ready_set);
/* assure that branches and constants are executed last */
ir_nodeset_iterator_init(&iter, ready_set);
@@
-105,7
+102,7
@@
static void sched_random(ir_graph *irg)
be_list_sched_graph(irg, &random_selector);
}
be_list_sched_graph(irg, &random_selector);
}
-BE_REGISTER_MODULE_CONSTRUCTOR(be_init_sched_rand)
;
+BE_REGISTER_MODULE_CONSTRUCTOR(be_init_sched_rand)
void be_init_sched_rand(void)
{
be_register_scheduler("random", sched_random);
void be_init_sched_rand(void)
{
be_register_scheduler("random", sched_random);