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
35e11f1f
Commit
35e11f1f
authored
Apr 26, 2011
by
Matthias Braun
Browse files
make verifier a bit less strict for out-edges to dead code
parent
3e2d483d
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/beverify.c
View file @
35e11f1f
...
...
@@ -785,6 +785,11 @@ static void value_def(ir_node *node)
reg_node
=
registers
[
reg
->
index
];
/* a little cheat, since its so hard to remove all outedges to dead code
* in the backend. This particular case should never be a problem. */
if
(
reg_node
==
NULL
&&
get_irn_n_edges
(
node
)
==
0
)
return
;
if
(
reg_node
!=
node
)
{
ir_fprintf
(
stderr
,
"Verify warning: Node %+F not registered as value for Register %s (but %+F) in block %+F(%s)
\n
"
,
node
,
reg
->
name
,
reg_node
,
get_nodes_block
(
node
),
get_irg_dump_name
(
irg
));
...
...
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