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
078c0c30
Commit
078c0c30
authored
Feb 13, 2007
by
Christian Würdig
Browse files
verify edges internally as well when checking out edges
parent
9b281b42
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/beverify.c
View file @
078c0c30
...
...
@@ -780,13 +780,14 @@ static void set_reachable(ir_node *node, void* data)
int
be_verify_out_edges
(
ir_graph
*
irg
)
{
verify_out_dead_nodes_env
env
;
env
.
irg
=
irg
;
env
.
reachable
=
bitset_alloca
(
get_irg_last_idx
(
irg
));
env
.
problem_found
=
0
;
env
.
irg
=
irg
;
env
.
reachable
=
bitset_alloca
(
get_irg_last_idx
(
irg
));
env
.
problem_found
=
edges_verify
(
irg
);
irg_walk_in_or_dep_graph
(
irg
,
set_reachable
,
NULL
,
env
.
reachable
);
inc_irg_visited
(
irg
);
check_out_edges
(
get_irg_start
(
irg
),
&
env
);
return
!
env
.
problem_found
;
return
!
env
.
problem_found
;
}
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