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
1f4edb8c
Commit
1f4edb8c
authored
Jul 19, 2015
by
Christoph Mallon
Browse files
Remove the unused function be_liveness_dump().
parent
b3620e92
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/be/bedump.c
View file @
1f4edb8c
...
...
@@ -140,28 +140,6 @@ void be_dump_liveness_block(be_lv_t *lv, FILE *F, const ir_node *bl)
}
}
typedef
struct
lv_walker_t
{
be_lv_t
*
lv
;
FILE
*
out
;
}
lv_walker_t
;
static
void
lv_dump_block_walker
(
ir_node
*
irn
,
void
*
data
)
{
lv_walker_t
*
w
=
(
lv_walker_t
*
)
data
;
if
(
!
is_Block
(
irn
))
return
;
be_dump_liveness_block
(
w
->
lv
,
w
->
out
,
irn
);
}
void
be_liveness_dump
(
FILE
*
F
,
const
be_lv_t
*
lv
)
{
lv_walker_t
w
;
w
.
lv
=
(
be_lv_t
*
)
lv
;
w
.
out
=
F
;
irg_block_walk_graph
(
lv
->
irg
,
lv_dump_block_walker
,
NULL
,
&
w
);
}
static
void
dump_bitmask
(
FILE
*
const
F
,
char
const
*
const
ctx
,
unsigned
mask
)
{
fputs
(
ctx
,
F
);
...
...
ir/be/bedump.h
View file @
1f4edb8c
...
...
@@ -28,13 +28,6 @@ void be_dump_ifg(FILE *F, ir_graph *irg, const be_ifg_t *ifg);
void
be_dump_ifg_co
(
FILE
*
F
,
const
copy_opt_t
*
co
,
bool
dump_costs
,
bool
dump_colors
);
/**
* Dump the liveness information for a graph.
* @param f The output.
* @param irg The graph.
*/
void
be_liveness_dump
(
FILE
*
F
,
const
be_lv_t
*
lv
);
/**
* node_info hook that dumps liveness for blocks
*/
...
...
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