summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beblocksched.c
diff options
context:
space:
mode:
authorMatthias Braun <matthias.braun@kit.edu>2012-06-06 11:12:30 +0200
committerMatthias Braun <matthias.braun@kit.edu>2012-06-06 12:41:01 +0200
commit381cf8f2c9b564356058b2390567e3bc1602131d (patch)
tree052f5d54a1541fc83491c15e19354ba439f6bded /ir/be/beblocksched.c
parent2c4b8df27755f825472eb30b65adb03c4de70a5c (diff)
be: expose be_options variable globally
Diffstat (limited to 'ir/be/beblocksched.c')
-rw-r--r--ir/be/beblocksched.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ir/be/beblocksched.c b/ir/be/beblocksched.c
index 97184df..d783a89 100644
--- a/ir/be/beblocksched.c
+++ b/ir/be/beblocksched.c
@@ -616,7 +616,6 @@ static void collect_egde_frequency_ilp(ir_node *block, void *data)
static void coalesce_blocks_ilp(blocksched_ilp_env_t *env)
{
int edge_count = ARR_LEN(env->ilpedges);
- be_options_t *options = be_get_irg_options(env->env.irg);
int i;
/* complete out constraints */
@@ -638,7 +637,7 @@ static void coalesce_blocks_ilp(blocksched_ilp_env_t *env)
lpp_set_factor_fast(env->lpp, entry->out_cst, edge->ilpvar, 1.0);
}
- lpp_solve_net(env->lpp, options->ilp_server, options->ilp_solver);
+ lpp_solve_net(env->lpp, be_options.ilp_server, be_options.ilp_solver);
assert(lpp_is_sol_valid(env->lpp));
/* Apply results to edges */