summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beblocksched.c
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2014-10-25 16:59:59 +0200
committerChristoph Mallon <mallon@cs.uni-saarland.de>2014-10-27 14:56:57 +0100
commit529f6fd4952b4602e2f675a341b64a5fb3ab5c9e (patch)
tree33d04c16469d026a70af2a08ccb3e9eb696fa6b4 /ir/be/beblocksched.c
parent821aaff2b6453d8cb4c5963386466774963a1dd1 (diff)
beblocksched: Remove write-only entries from blocksched_ilp_entry_t.
Diffstat (limited to 'ir/be/beblocksched.c')
-rw-r--r--ir/be/beblocksched.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/ir/be/beblocksched.c b/ir/be/beblocksched.c
index bb72f19..ca995ac 100644
--- a/ir/be/beblocksched.c
+++ b/ir/be/beblocksched.c
@@ -669,10 +669,7 @@ typedef struct blocksched_ilp_env_t {
typedef struct blocksched_ilp_entry_t {
ir_node *block;
- struct blocksched_entry_t *next;
- struct blocksched_entry_t *prev;
-
- int out_cst;
+ int out_cst;
} blocksched_ilp_entry_t;
static int add_ilp_edge(ir_node *block, int pos, double execfreq, blocksched_ilp_env_t *env)
@@ -706,8 +703,6 @@ static void collect_egde_frequency_ilp(ir_node *block, void *data)
entry = OALLOC(&env->env.obst, blocksched_ilp_entry_t);
entry->block = block;
- entry->next = NULL;
- entry->prev = NULL;
entry->out_cst = lpp_add_cst_uniq(env->lpp, name, lpp_greater_equal, out_count - 1);
set_irn_link(block, entry);