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
529f6fd4
Commit
529f6fd4
authored
Oct 25, 2014
by
Christoph Mallon
Browse files
beblocksched: Remove write-only entries from blocksched_ilp_entry_t.
parent
821aaff2
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/beblocksched.c
View file @
529f6fd4
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
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