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
9240cbac
Commit
9240cbac
authored
Jul 08, 2015
by
yb9976
Browse files
Assert activated edges.
parent
0dd2a7bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/opt/reassoc.c
View file @
9240cbac
...
...
@@ -840,9 +840,7 @@ static void do_shannon(ir_graph *irg)
*/
static
bool
only_one_user
(
const
ir_node
*
node
)
{
ir_graph
*
irg
=
get_irn_irg
(
node
);
if
(
!
edges_activated
(
irg
))
return
false
;
assert
(
edges_activated
(
get_irn_irg
(
node
)));
return
get_irn_n_edges
(
node
)
<=
1
;
}
...
...
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