Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
7820863c
Commit
7820863c
authored
Dec 01, 2011
by
Matthias Braun
Browse files
becopyilp2: Remove unused timelimit
(There is a timelimit option in becopyilp anyway)
parent
ee191a39
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/becopyilp2.c
View file @
7820863c
...
...
@@ -59,7 +59,6 @@
#define DEBUG_LVL 1
typedef
struct
local_env_t
{
double
time_limit
;
int
first_x_var
,
last_x_var
;
int
n_colors
;
bitset_t
*
normal_colors
;
...
...
@@ -488,7 +487,6 @@ static void build_path_cstr(ilp_env_t *ienv)
static
void
ilp2_build
(
ilp_env_t
*
ienv
)
{
local_env_t
*
lenv
=
ienv
->
env
;
int
lower_bound
;
ienv
->
lp
=
lpp_new
(
ienv
->
co
->
name
,
lpp_minimize
);
...
...
@@ -500,7 +498,6 @@ static void ilp2_build(ilp_env_t *ienv)
lower_bound
=
co_get_lower_bound
(
ienv
->
co
)
-
co_get_inevit_copy_costs
(
ienv
->
co
);
lpp_set_bound
(
ienv
->
lp
,
lower_bound
);
lpp_set_time_limit
(
ienv
->
lp
,
lenv
->
time_limit
);
}
static
void
ilp2_apply
(
ilp_env_t
*
ienv
)
...
...
@@ -567,7 +564,6 @@ int co_solve_ilp2(copy_opt_t *co)
ASSERT_OU_AVAIL
(
co
);
//See build_clique_st
ASSERT_GS_AVAIL
(
co
);
my
.
time_limit
=
0
;
my
.
first_x_var
=
-
1
;
my
.
last_x_var
=
-
1
;
my
.
nr_2_irn
=
pmap_create
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment