projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use be_put_ignore_regs() instead of duplicating its logic.
[libfirm]
/
ir
/
be
/
beschedrand.c
diff --git
a/ir/be/beschedrand.c
b/ir/be/beschedrand.c
index
0382225
..
3388907
100644
(file)
--- a/
ir/be/beschedrand.c
+++ b/
ir/be/beschedrand.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 1995-200
7
University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-200
8
University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
*
* This file is part of libFirm.
*
@@
-93,7
+93,7
@@
static void *random_init_block(void *graph_env, ir_node *block)
return graph_env;
}
return graph_env;
}
-
static const list_sched_selector_t random_selector_struct
= {
+
const list_sched_selector_t random_selector
= {
random_init_graph,
random_init_block,
random_select,
random_init_graph,
random_init_block,
random_select,
@@
-105,5
+105,3
@@
static const list_sched_selector_t random_selector_struct = {
NULL, /* finish_block */
NULL /* finish_graph */
};
NULL, /* finish_block */
NULL /* finish_graph */
};
-
-const list_sched_selector_t *random_selector = &random_selector_struct;