Commit 529f6fd4 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

beblocksched: Remove write-only entries from blocksched_ilp_entry_t.

parent 821aaff2
...@@ -669,10 +669,7 @@ typedef struct blocksched_ilp_env_t { ...@@ -669,10 +669,7 @@ typedef struct blocksched_ilp_env_t {
typedef struct blocksched_ilp_entry_t { typedef struct blocksched_ilp_entry_t {
ir_node *block; ir_node *block;
struct blocksched_entry_t *next; int out_cst;
struct blocksched_entry_t *prev;
int out_cst;
} blocksched_ilp_entry_t; } blocksched_ilp_entry_t;
static int add_ilp_edge(ir_node *block, int pos, double execfreq, blocksched_ilp_env_t *env) 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) ...@@ -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 = OALLOC(&env->env.obst, blocksched_ilp_entry_t);
entry->block = block; 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); entry->out_cst = lpp_add_cst_uniq(env->lpp, name, lpp_greater_equal, out_count - 1);
set_irn_link(block, entry); set_irn_link(block, entry);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment