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
0184994d
Commit
0184994d
authored
Dec 13, 2013
by
yb9976
Browse files
We did not need a special case for Bad nodes.
They are located in the start block, which dominates all other blocks.
parent
96826438
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/irverify.c
View file @
0184994d
...
...
@@ -915,9 +915,7 @@ static bool check_dominance_for_node(const ir_node *use)
ir_node
*
bl
=
get_nodes_block
(
use
);
for
(
int
i
=
get_irn_arity
(
use
);
i
--
>
0
;
)
{
ir_node
*
def
=
get_irn_n
(
use
,
i
);
if
(
is_Bad
(
def
))
continue
;
ir_node
*
def
=
get_irn_n
(
use
,
i
);
ir_node
*
def_bl
=
get_nodes_block
(
def
);
/* we have no dominance relation for unreachable blocks, so we can't
* check the dominance property there */
...
...
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