Commit aacb30df authored by Martin Haaß's avatar Martin Haaß Committed by Matthias Braun
Browse files

Fix behaviour of dump_node_vcgattr_hook accroding to documentation

parent e4bbae1e
......@@ -903,8 +903,8 @@ static void dump_node_vcgattr(FILE *F, const ir_node *node, const ir_node *local
}
if (dump_node_vcgattr_hook != NULL) {
dump_node_vcgattr_hook(F, node, local);
return;
if (dump_node_vcgattr_hook(F, node, local) != 0)
return;
}
n = local ? local : node;
......
Markdown is supported
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