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
2ae3e919
Commit
2ae3e919
authored
Aug 12, 2011
by
Andreas Zwinkau
Browse files
cleanup
Removes obsolete debug output and confusing comments
parent
41dc42af
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/opt/combo.c
View file @
2ae3e919
...
...
@@ -3029,16 +3029,9 @@ static void apply_cf(ir_node *block, void *ctx)
}
}
/* the EndBlock is always reachable even if the analysis
finds out the opposite :-) */
if
(
block
!=
get_irg_end_block
(
current_ir_graph
))
{
/* mark dead blocks */
//set_Block_dead(block);
//ir_graph *irg = get_irn_irg(block);
//exchange(block, get_irg_bad(irg));
DB
((
dbg
,
LEVEL_1
,
"Removing dead %+F
\n
"
,
block
));
}
else
{
/* the endblock is unreachable */
if
(
block
==
get_irg_end_block
(
current_ir_graph
))
{
/* Analysis found out that the end block is unreachable,
* hence we remove all its control flow predecessors. */
set_irn_in
(
block
,
0
,
NULL
);
}
return
;
...
...
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