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 ...@@ -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) { if (dump_node_vcgattr_hook != NULL) {
dump_node_vcgattr_hook(F, node, local); if (dump_node_vcgattr_hook(F, node, local) != 0)
return; return;
} }
n = local ? local : node; n = local ? local : node;
......
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