Commit 4068c787 authored by Matthias Braun's avatar Matthias Braun
Browse files

fix outedge verififer

parent b9c29a47
......@@ -869,7 +869,7 @@ static void check_out_edges(ir_node *node, verify_out_dead_nodes_env *env) {
foreach_out_edge(node, edge) {
ir_node* src = get_edge_src_irn(edge);
if(!bitset_is_set(env->reachable, get_irn_idx(src)) && !is_Block(node)) {
if(!bitset_is_set(env->reachable, get_irn_idx(src)) && !is_Block(src)) {
ir_fprintf(stderr, "Verify warning: Node %+F in block %+F(%s) only reachable through out edges from %+F\n",
src, get_nodes_block(src), get_irg_dump_name(irg), node);
env->problem_found = 1;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment