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
3dff5572
Commit
3dff5572
authored
Apr 29, 2011
by
Matthias Braun
Browse files
only calculate dominance if CFG verification was fine to avoid crashs/endless loops
parent
d32deaaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/irverify.c
View file @
3dff5572
...
...
@@ -2018,7 +2018,10 @@ int irg_verify(ir_graph *irg, unsigned flags)
last_irg_error
=
NULL
;
#endif
/* NDEBUG */
if
((
flags
&
VERIFY_ENFORCE_SSA
)
&&
pinned
)
if
(
!
check_cfg
(
irg
))
res
=
0
;
if
(
res
==
1
&&
(
flags
&
VERIFY_ENFORCE_SSA
)
&&
pinned
)
compute_doms
(
irg
);
irg_walk_anchors
(
...
...
@@ -2029,9 +2032,6 @@ int irg_verify(ir_graph *irg, unsigned flags)
&
res
);
if
(
!
check_cfg
(
irg
))
res
=
0
;
if
(
get_node_verification_mode
()
==
FIRM_VERIFICATION_REPORT
&&
!
res
)
{
ir_entity
*
ent
=
get_irg_entity
(
irg
);
...
...
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