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
fb7ff403
Commit
fb7ff403
authored
Aug 21, 2014
by
Matthias Braun
Browse files
cfopt: make sure iredges are not activated in cfopt
parent
98c9d02e
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/opt/cfopt.c
View file @
fb7ff403
...
...
@@ -546,6 +546,9 @@ void optimize_cf(ir_graph *irg)
{
assure_irg_properties
(
irg
,
IR_GRAPH_PROPERTY_NO_UNREACHABLE_CODE
|
IR_GRAPH_PROPERTY_ONE_RETURN
);
/* we have some hacky is_Id() checks here so exchange must not use Deleted
* nodes because out edges are active. */
edges_deactivate
(
irg
);
ir_reserve_resources
(
irg
,
IR_RESOURCE_BLOCK_MARK
|
IR_RESOURCE_PHI_LIST
|
IR_RESOURCE_IRN_LINK
);
...
...
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